summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-07-13 17:52:46 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-07-13 17:52:46 -0700
commit0b7f0333fe6384598e78f6e0dc61dfbf3636c1c8 (patch)
treee1a733f627d1c2795516205e898c7a2545cf755e
parentbfcde07215512ea5153700bc57ef8baa8d3e9ef2 (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.c2
-rw-r--r--RA32.c2
-rw-r--r--RA8.c2
-rw-r--r--RAofA8.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/RA16.c b/RA16.c
index cdaaa22..0a279a4 100644
--- a/RA16.c
+++ b/RA16.c
@@ -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)
diff --git a/RA32.c b/RA32.c
index 09f72da..9baa285 100644
--- a/RA32.c
+++ b/RA32.c
@@ -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)
diff --git a/RA8.c b/RA8.c
index eee3c6b..2b8b962 100644
--- a/RA8.c
+++ b/RA8.c
@@ -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)
diff --git a/RAofA8.c b/RAofA8.c
index 568236c..d751e99 100644
--- a/RAofA8.c
+++ b/RAofA8.c
@@ -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)