summaryrefslogtreecommitdiff
path: root/src/mapi/mapi_glapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/mapi_glapi.c')
-rw-r--r--src/mapi/mapi_glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c
index 21ca0a0902d..afc466504bb 100644
--- a/src/mapi/mapi_glapi.c
+++ b/src/mapi/mapi_glapi.c
@@ -121,7 +121,7 @@ _glapi_add_dispatch( const char * const * function_names,
const struct mapi_stub *alias = NULL;
unsigned i;
- (void) memset(function_stubs, 0, sizeof(function_stubs));
+ (void) memset((void*)function_stubs, 0, sizeof(function_stubs));
/* find the missing stubs, and decide the alias */
for (i = 0; function_names[i] != NULL && i < 8; i++) {