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 <[email protected]>
---
 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;
-- 
2.1.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to