summaryrefslogtreecommitdiff
path: root/xdmauth.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-07-14 13:05:52 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-07-14 13:05:52 -0700
commit5283b118b4bfdb1a85356147701f602b884c342b (patch)
tree8751ba258d8a74ee929b87887393be369ba2091f /xdmauth.c
parent41211f8c849de67cebeb9d9f7516eb5a4a7eb3cf (diff)
Fix many sparse warnings of: Using plain integer as NULL pointer
Also fixes Login.c:1329:5: warning: mixing declarations and code from extra ;
Diffstat (limited to 'xdmauth.c')
-rw-r--r--xdmauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xdmauth.c b/xdmauth.c
index d2c3e9d..b54d5ce 100644
--- a/xdmauth.c
+++ b/xdmauth.c
@@ -92,9 +92,9 @@ XdmGetAuthHelper (unsigned short namelen, char *name, int includeRho)
return (Xauth *) 0;
new->family = FamilyWild;
new->address_length = 0;
- new->address = 0;
+ new->address = NULL;
new->number_length = 0;
- new->number = 0;
+ new->number = NULL;
if (includeRho)
new->data_length = 16;
else