Browse Source

added a cast to ADD_POINTERS macro

tags/unichrome-last-xinerama
Brian Paul 21 years ago
parent
commit
a196565e04
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/main/imports.h

+ 1
- 1
src/mesa/main/imports.h View File

@@ -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) )


/**********************************************************************/

Loading…
Cancel
Save