diff options
author | Brian Paul <[email protected]> | 2000-03-19 01:10:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-03-19 01:10:11 +0000 |
commit | 959f802dabd4f4347dc0ea925ae687abb6938588 (patch) | |
tree | df8d13fb85b62d132007e69d9963c22beee55abc /src/mesa/main/image.c | |
parent | a742e9bccd683f2a899dafc3703e4d59037c4437 (diff) |
fixed compiler warnings on BeOS R4
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r-- | src/mesa/main/image.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index 6c7e66dd64b..b1f64fb3fdf 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -1,4 +1,4 @@ -/* $Id: image.c,v 1.19 2000/03/13 18:31:51 brianp Exp $ */ +/* $Id: image.c,v 1.20 2000/03/19 01:10:12 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -497,7 +497,7 @@ void _mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32], const struct gl_pixelstore_attrib *unpacking ) { - GLubyte *ptrn = _mesa_unpack_bitmap( 32, 32, pattern, unpacking ); + GLubyte *ptrn = (GLubyte *) _mesa_unpack_bitmap( 32, 32, pattern, unpacking ); if (ptrn) { /* Convert pattern from GLubytes to GLuints and handle big/little * endian differences @@ -1518,12 +1518,12 @@ extract_uint_indexes(GLuint n, GLuint indexes[], for (i = 0; i < n; i++) { GLfloat value = s[i]; SWAP4BYTE(value); - indexes[i] = value; + indexes[i] = (GLuint) value; } } else { for (i = 0; i < n; i++) - indexes[i] = s[i]; + indexes[i] = (GLuint) s[i]; } } break; |