diff options
Diffstat (limited to 'lib/libXdmcp/RA16.c')
-rw-r--r-- | lib/libXdmcp/RA16.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libXdmcp/RA16.c b/lib/libXdmcp/RA16.c index cdaaa226c..c8ccd1a11 100644 --- a/lib/libXdmcp/RA16.c +++ b/lib/libXdmcp/RA16.c @@ -36,9 +36,7 @@ in this Software without prior written authorization from The Open Group. #include <X11/Xdmcp.h> int -XdmcpReadARRAY16 (buffer, array) - XdmcpBufferPtr buffer; - ARRAY16Ptr array; +XdmcpReadARRAY16 (XdmcpBufferPtr buffer, ARRAY16Ptr array) { int i; @@ -47,7 +45,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) |