diff options
Diffstat (limited to 'src/mesa/main/extensions.c')
-rw-r--r-- | src/mesa/main/extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 6f5f715fc1f..fb67683a396 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -423,7 +423,7 @@ _mesa_make_extension_string( GLcontext *ctx ) extStrLen += _mesa_strlen(default_extensions[i].name) + 1; } } - s = _mesa_malloc(extStrLen); + s = (GLubyte *) _mesa_malloc(extStrLen); /* second, build the extension string */ extStrLen = 0; |