From: Brian Paul Date: Sat, 7 Mar 2009 20:30:03 +0000 (-0700) Subject: mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build X-Git-Tag: mesa-7.8~4139^2~256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=460e5b11c98e07d12c655e5bf2f1e993d05bd7a1;p=platform%2Fupstream%2Fmesa.git mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build --- diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index b378745..5381cc4 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -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);