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

Submitted by Kevin Brace on Jan. 31, 2019, 11:46 p.m.


Message ID 1548978395-2811-2-git-send-email-kevinbrace@gmx.com
State New
Headers show
Series "Eliminating compilation warnings" ( rev: 1 ) in X.org

Not browsing as part of any series.

Commit Message

Kevin Brace Jan. 31, 2019, 11:46 p.m.
For ABI_VIDEODRV_VERSION >= 23, it was changed to int from unsigned

Signed-off-by: Kevin Brace <kevinbrace@gmx.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
 #define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask