aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/record
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 /xorg-server/record
parent52cd3051ba15ddda117f8d8cae1979cd3c86f5b6 (diff)
downloadvcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.tar.gz
vcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.tar.bz2
vcxsrv-90077a910e62ec55bc1e5a98f5946754c9c5f8bd.zip
Solved 64-bit run-time problems
Diffstat (limited to 'xorg-server/record')
-rw-r--r--xorg-server/record/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/record/record.c b/xorg-server/record/record.c
index 1b7eb8a43..7a37ec06a 100644
--- a/xorg-server/record/record.c
+++ b/xorg-server/record/record.c
@@ -2734,7 +2734,7 @@ RecordAClientStateChange(CallbackListPtr *pcbl, pointer nulldata,
/* RecordDisableContext modifies contents of ppAllContexts. */
numContextsCopy = numContexts;
ppAllContextsCopy = malloc(numContextsCopy * sizeof(RecordContextPtr));
- assert(ppAllContextsCopy);
+ assert(ppAllContextsCopy!=NULL);
memcpy(ppAllContextsCopy, ppAllContexts,
numContextsCopy * sizeof(RecordContextPtr));