From a196565e04d1aa82b71c2ba3fb67be518b22f908 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 31 Oct 2004 18:54:10 +0000 Subject: added a cast to ADD_POINTERS macro --- src/mesa/main/imports.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 86480c82b1..a928b20ad5 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) ) /**********************************************************************/ -- cgit v1.2.3