summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-10-31 18:54:10 +0000
committerBrian Paul <[email protected]>2004-10-31 18:54:10 +0000
commita196565e04d1aa82b71c2ba3fb67be518b22f908 (patch)
tree21f293edd3093d9f68d4c905849007616a3f4b86 /src/mesa/main
parentaea02adc7b06de3aa962cef4f78913f8c4721946 (diff)
added a cast to ADD_POINTERS macro
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/imports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 86480c82b1d..a928b20ad56 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -100,7 +100,7 @@ extern "C" {
* this macro.
* Both pointers/offsets are expressed in bytes.
*/
-#define ADD_POINTERS(A, B) ( (A) + (unsigned long) (B) )
+#define ADD_POINTERS(A, B) ( (GLubyte *) (A) + (unsigned long) (B) )
/**********************************************************************/