aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-12-21 14:53:11 +0100
committermarha <marha@users.sourceforge.net>2013-12-21 14:53:11 +0100
commit90077a910e62ec55bc1e5a98f5946754c9c5f8bd (patch)
treea480babd4a7c61d52edc2cc555b5d20eab69f737 /libX11
parent52cd3051ba15ddda117f8d8cae1979cd3c86f5b6 (diff)
downloadvcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.tar.gz
vcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.tar.bz2
vcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.zip
Solved 64-bit run-time problems
Diffstat (limited to 'libX11')
-rw-r--r--libX11/src/xcb_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/xcb_io.c b/libX11/src/xcb_io.c
index 26e547ee5..db75e4a24 100644
--- a/libX11/src/xcb_io.c
+++ b/libX11/src/xcb_io.c
@@ -151,7 +151,7 @@ static void check_internal_connections(Display *dpy)
static PendingRequest *append_pending_request(Display *dpy, unsigned long sequence)
{
PendingRequest *node = malloc(sizeof(PendingRequest));
- assert(node);
+ assert(node!=NULL);
node->next = NULL;
node->sequence = sequence;
node->reply_waiter = 0;