aboutsummaryrefslogtreecommitdiff
path: root/libXext/src/XSync.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-07-31 10:00:43 +0200
committermarha <marha@users.sourceforge.net>2012-07-31 10:00:43 +0200
commitbd27b3d008b0abf9ae2edcb127302728808533e4 (patch)
treea73a74f04a31a0f44465ed82bcf58b180ca53dbd /libXext/src/XSync.c
parent2ff5448bcca8cba4b62026d5493cb08aaf2838d8 (diff)
downloadvcxsrv-bd27b3d008b0abf9ae2edcb127302728808533e4.tar.gz
vcxsrv-bd27b3d008b0abf9ae2edcb127302728808533e4.tar.bz2
vcxsrv-bd27b3d008b0abf9ae2edcb127302728808533e4.zip
fontconfig libXext mesa xserver pixman git update 31 Jul 2012
Diffstat (limited to 'libXext/src/XSync.c')
-rw-r--r--libXext/src/XSync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libXext/src/XSync.c b/libXext/src/XSync.c
index df7c43542..577529388 100644
--- a/libXext/src/XSync.c
+++ b/libXext/src/XSync.c
@@ -107,8 +107,8 @@ static /* const */ SyncVersionInfo supported_versions[] = {
};
#define NUM_VERSIONS (sizeof(supported_versions)/sizeof(supported_versions[0]))
-#define GET_VERSION(info) ((info) ? (const SyncVersionInfo*)(info)->data : NULL)
-#define IS_VERSION_SUPPORTED(info) (!!GET_VERSION(info))
+#define GET_VERSION(info) ((const SyncVersionInfo*)(info)->data)
+#define IS_VERSION_SUPPORTED(info) (!!(info))
static
const SyncVersionInfo* GetVersionInfo(Display *dpy)