summaryrefslogtreecommitdiff
path: root/lib/libXdmcp/RA8.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXdmcp/RA8.c')
-rw-r--r--lib/libXdmcp/RA8.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libXdmcp/RA8.c b/lib/libXdmcp/RA8.c
index eee3c6b3b..b4478960a 100644
--- a/lib/libXdmcp/RA8.c
+++ b/lib/libXdmcp/RA8.c
@@ -36,9 +36,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xdmcp.h>
int
-XdmcpReadARRAY8 (buffer, array)
- XdmcpBufferPtr buffer;
- ARRAY8Ptr array;
+XdmcpReadARRAY8 (XdmcpBufferPtr buffer, ARRAY8Ptr array)
{
int i;
@@ -47,7 +45,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)