diff options
author | Brian Paul <[email protected]> | 2010-07-14 14:36:25 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-07-14 15:13:54 -0600 |
commit | 4beea12f170cdbce75bd07549b475f59fc3cd7f9 (patch) | |
tree | 28196489bd5a0bfabb76a5a8f1af44df51f7486a /src/mesa | |
parent | 871feeb165685c3f46b3f76a69ddfbd78b4acb8e (diff) |
mesa: silence a printf warning
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/varray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index da374acb5c8..6c0cfc4e327 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1368,10 +1368,10 @@ print_array(const char *name, GLint index, const struct gl_client_array *array) printf(" %s[%d]: ", name, index); else printf(" %s: ", name); - printf("Ptr=%p, Type=0x%x, Size=%d, ElemSize=%u, Stride=%d, Buffer=%u(Size %u), MaxElem=%u\n", + printf("Ptr=%p, Type=0x%x, Size=%d, ElemSize=%u, Stride=%d, Buffer=%u(Size %lu), MaxElem=%u\n", array->Ptr, array->Type, array->Size, array->_ElementSize, array->StrideB, - array->BufferObj->Name, array->BufferObj->Size, + array->BufferObj->Name, (unsigned long) array->BufferObj->Size, array->_MaxElement); } |