OSDN Git Service

mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build
authorBrian Paul <brianp@vmware.com>
Sat, 7 Mar 2009 20:30:03 +0000 (13:30 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 7 Mar 2009 20:30:03 +0000 (13:30 -0700)
src/mesa/vbo/vbo_exec_draw.c

index b378745..5381cc4 100644 (file)
@@ -204,7 +204,7 @@ static void vbo_exec_bind_arrays( GLcontext *ctx )
 
          if (exec->vtx.bufferobj->Name) {
             /* a real buffer obj: Ptr is an offset, not a pointer*/
-            int offset;
+            GLsizeiptr offset;
             assert(exec->vtx.bufferobj->Pointer);  /* buf should be mapped */
             offset = (GLbyte *) data - (GLbyte *) exec->vtx.bufferobj->Pointer;
             assert(offset >= 0);