[PATCH xf86-video-savage v2] Changing result parameter type for ScreenWakeupHandlerProcPtr
Kevin Brace
kevinbrace at gmx.com
Thu Feb 7 03:01:25 UTC 2019
For ABI_VIDEODRV_VERSION >= 23, it was changed to int from unsigned
long.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/compat-api.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.7.4
More information about the xorg-devel
mailing list