diff options
author | Julien Cristau <jcristau@debian.org> | 2015-05-08 13:27:56 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2015-05-08 13:51:26 +0200 |
commit | d06454e89384957fa2b77ff35b35108dc657a510 (patch) | |
tree | fc476d9748308d799a9bed29276024ec1c8c2470 | |
parent | 6073828547bdff86d147ab54accb12bc4230d6aa (diff) |
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 <jcristau@debian.org>
-rw-r--r-- | src/smi.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |