summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2019-01-28 20:03:25 -0800
committerKevin Brace <kevinbrace@gmx.com>2019-02-01 23:49:06 -0800
commit8579718352809c04809bc810c9c3f6207eaa06b5 (patch)
tree86555a3dd1e11ac412f6eaf851701909cf7987f4 /src/compat-api.h
parentfcc50b5af5a13083337984fc53e41cd704e84e15 (diff)
Changing result parameter type for ScreenWakeupHandlerProcPtr
For ABI_VIDEODRV_VERSION >= 23, it was changed to int from unsigned long. Signed-off-by: Kevin Brace <kevinbrace@gmx.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 44daea4..7cf29d0 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -82,7 +82,7 @@
#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
#define BLOCKHANDLER_ARGS arg, pTimeout
-#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, unsigned long result
+#define WAKEUPHANDLER_ARGS_DECL ScreenPtr arg, int result
#define WAKEUPHANDLER_ARGS arg, result
#else
#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask