diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-07-13 17:52:46 -0700 |
---|---|---|
committer | Alan Coopersmith <alanc@alf.(none)> | 2006-07-13 17:52:46 -0700 |
commit | 0b7f0333fe6384598e78f6e0dc61dfbf3636c1c8 (patch) | |
tree | e1a733f627d1c2795516205e898c7a2545cf755e | |
parent | bfcde07215512ea5153700bc57ef8baa8d3e9ef2 (diff) |
Fix sparse warnings for using 0 instead of NULL
RA8.c:50:17: warning: Using plain integer as NULL pointer
RA16.c:50:16: warning: Using plain integer as NULL pointer
RA32.c:50:16: warning: Using plain integer as NULL pointer
RAofA8.c:50:16: warning: Using plain integer as NULL pointer
-rw-r--r-- | RA16.c | 2 | ||||
-rw-r--r-- | RA32.c | 2 | ||||
-rw-r--r-- | RA8.c | 2 | ||||
-rw-r--r-- | RAofA8.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -47,7 +47,7 @@ XdmcpReadARRAY16 (buffer, array) /* Must set array->data to NULL to guarantee safe call of * XdmcpDisposeARRAY*(array) (which calls Xfree(array->data)); * see defect 7329 */ - array->data = 0; + array->data = NULL; return FALSE; } if (!array->length) @@ -47,7 +47,7 @@ XdmcpReadARRAY32 (buffer, array) /* Must set array->data to NULL to guarantee safe call of * XdmcpDisposeARRAY*(array) (which calls Xfree(array->data)); * see defect 7329 */ - array->data = 0; + array->data = NULL; return FALSE; } if (!array->length) @@ -47,7 +47,7 @@ XdmcpReadARRAY8 (buffer, array) /* Must set array->data to NULL to guarantee safe call of * XdmcpDisposeARRAY*(array) (which calls Xfree(array->data)); * see defect 7329 */ - array->data = 0; + array->data = NULL; return FALSE; } if (!array->length) @@ -47,7 +47,7 @@ XdmcpReadARRAYofARRAY8 (buffer, array) /* Must set array->data to NULL to guarantee safe call of * XdmcpDisposeARRAY*(array) (which calls Xfree(array->data)); * see defect 7329 */ - array->data = 0; + array->data = NULL; return FALSE; } if (!array->length) |