mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build

This commit is contained in:
Brian Paul
2009-03-07 13:30:03 -07:00
parent 799f55803d
commit 460e5b11c9
+1 -1
View 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);