From: Brian Paul Date: Wed, 14 Jul 2010 20:36:25 +0000 (-0600) Subject: mesa: silence a printf warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4beea12f170cdbce75bd07549b475f59fc3cd7f9;p=mesa.git mesa: silence a printf warning --- 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); }