[xf86-video-tdfx,v2,2/2] Changing result parameter type for ScreenWakeupHandlerProcPtr

Submitted by Kevin Brace on Feb. 7, 2019, 2:56 a.m.

Details

Message ID 1549508197-7717-3-git-send-email-kevinbrace@gmx.com
State New
Series "Eliminating compilation warnings"
Headers show

Commit Message

Kevin Brace Feb. 7, 2019, 2:56 a.m.
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>
---
 src/compat-api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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