Commit d06454e8 authored by Julien Cristau's avatar Julien Cristau
Browse files

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's avatarJulien Cristau <jcristau@debian.org>
parent 60738285
...@@ -276,8 +276,7 @@ typedef struct ...@@ -276,8 +276,7 @@ typedef struct
Bool interlaced; /* True: Interlaced Video */ Bool interlaced; /* True: Interlaced Video */
XF86VideoAdaptorPtr ptrAdaptor; /* Pointer to VideoAdapter XF86VideoAdaptorPtr ptrAdaptor; /* Pointer to VideoAdapter
structure */ structure */
void (*BlockHandler)(int i, pointer blockData, pointer pTimeout, void (*BlockHandler)(BLOCKHANDLER_ARGS_DECL);
pointer pReadMask);
#if SMI501_CLI_DEBUG #if SMI501_CLI_DEBUG
/* SMI 501/502 Command List Interpreter */ /* SMI 501/502 Command List Interpreter */
Bool batch_active; Bool batch_active;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment