diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-07-14 13:05:52 -0700 |
---|---|---|
committer | Alan Coopersmith <alanc@alf.(none)> | 2006-07-14 13:05:52 -0700 |
commit | 5283b118b4bfdb1a85356147701f602b884c342b (patch) | |
tree | 8751ba258d8a74ee929b87887393be369ba2091f /xdmauth.c | |
parent | 41211f8c849de67cebeb9d9f7516eb5a4a7eb3cf (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |