projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea02ad
)
added a cast to ADD_POINTERS macro
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Oct 2004 18:54:10 +0000
(18:54 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 31 Oct 2004 18:54:10 +0000
(18:54 +0000)
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 86480c82b1d8dcd8b3eba14b0496cc87829854d0..a928b20ad56e83fb844c3429e07cd008158ed9a4 100644
(file)
--- 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) )
/**********************************************************************/