summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-19 01:10:11 +0000
committerBrian Paul <[email protected]>2000-03-19 01:10:11 +0000
commit959f802dabd4f4347dc0ea925ae687abb6938588 (patch)
treedf8d13fb85b62d132007e69d9963c22beee55abc /src/mesa/main/attrib.c
parenta742e9bccd683f2a899dafc3703e4d59037c4437 (diff)
fixed compiler warnings on BeOS R4
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 95d2bc4ebfc..617a274e03e 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.19 2000/03/10 22:12:22 brianp Exp $ */
+/* $Id: attrib.c,v 1.20 2000/03/19 01:10:11 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -699,7 +699,7 @@ _mesa_PopAttrib(void)
case GL_POLYGON_STIPPLE_BIT:
MEMCPY( ctx->PolygonStipple, attr->data, 32*sizeof(GLuint) );
if (ctx->Driver.PolygonStipple)
- ctx->Driver.PolygonStipple( ctx, attr->data );
+ ctx->Driver.PolygonStipple( ctx, (const GLubyte *) attr->data );
break;
case GL_SCISSOR_BIT:
MEMCPY( &ctx->Scissor, attr->data,