diff options
author | Brian Paul <[email protected]> | 2009-03-07 13:30:03 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-07 13:30:03 -0700 |
commit | 460e5b11c98e07d12c655e5bf2f1e993d05bd7a1 (patch) | |
tree | e44cbdfc693f5c7608ffdd0c4feb0ae3ec1ad287 /src | |
parent | 799f55803d15602b10d2bb97ff62792f05ce4de3 (diff) |
mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index b3787459169..5381cc4d92a 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); |