From d06454e89384957fa2b77ff35b35108dc657a510 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 8 May 2015 13:27:56 +0200 Subject: Fix BlockHandler declaration smi_video.c: In function 'SMI_SetupVideo': smi_video.c:940:24: warning: assignment from incompatible pointer type pSmi->BlockHandler = pScreen->BlockHandler; ^ Signed-off-by: Julien Cristau --- src/smi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/smi.h b/src/smi.h index dce82e6..9d6671a 100644 --- a/src/smi.h +++ b/src/smi.h @@ -276,8 +276,7 @@ typedef struct Bool interlaced; /* True: Interlaced Video */ XF86VideoAdaptorPtr ptrAdaptor; /* Pointer to VideoAdapter structure */ - void (*BlockHandler)(int i, pointer blockData, pointer pTimeout, - pointer pReadMask); + void (*BlockHandler)(BLOCKHANDLER_ARGS_DECL); #if SMI501_CLI_DEBUG /* SMI 501/502 Command List Interpreter */ Bool batch_active; -- cgit v1.2.3