summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-02-25 19:25:52 +0000
committerBrian Paul <[email protected]>2003-02-25 19:25:52 +0000
commit4039cb8ca82d59451a6de8902fe35e693cdca3ba (patch)
tree0ea4e7518923243d8d49064719c1206f16c63640 /src/mesa/main
parentb10c434a8f1b760e5a5516729761944d3e84d894 (diff)
casts to silence g++ warnings
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texstore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 3e998f3d78a..b20e6933805 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -1,4 +1,4 @@
-/* $Id: texstore.c,v 1.52 2003/02/06 13:50:57 brianp Exp $ */
+/* $Id: texstore.c,v 1.53 2003/02/25 19:25:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1162,7 +1162,7 @@ _mesa_store_compressed_teximage2d(GLcontext *ctx, GLenum target, GLint level,
}
/* copy the data */
- ASSERT(texImage->CompressedSize == imageSize);
+ ASSERT(texImage->CompressedSize == (GLuint) imageSize);
MEMCPY(texImage->Data, data, imageSize);
}