summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c')
-rw-r--r--xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c b/xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c
index 7ff9cc548..f54d15a8e 100644
--- a/xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c
+++ b/xc/lib/GL/mesa/src/drv/radeon/radeon_dd.c
@@ -67,11 +67,11 @@ static void radeonDDGetBufferSize( GLcontext *ctx,
static const GLubyte *radeonDDGetString( GLcontext *ctx, GLenum name )
{
radeonContextPtr rmesa = RADEON_CONTEXT(ctx);
- static GLubyte buffer[128];
+ static char buffer[128];
switch ( name ) {
case GL_VENDOR:
- return "VA Linux Systems, Inc.";
+ return (GLubyte *)"VA Linux Systems, Inc.";
case GL_RENDERER:
sprintf( buffer, "Mesa DRI Radeon " RADEON_DATE );
@@ -119,7 +119,7 @@ static const GLubyte *radeonDDGetString( GLcontext *ctx, GLenum name )
strncat( buffer, "/SSE", 4 );
}
#endif
- return buffer;
+ return (GLubyte *)buffer;
default:
return NULL;