mesa: Fix warning with MESA_VERBOSE=api for BindBufferRange
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 2 Jan 2016 00:58:49 +0000 (16:58 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 Jan 2016 01:27:14 +0000 (17:27 -0800)
Reported-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/bufferobj.c

index 181eb49d408815d10ae3fe0af2dac5305ca0e714..3a05cd55042ba5d8fea30350fce50ed599ec1829 100644 (file)
@@ -3914,7 +3914,7 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
    struct gl_buffer_object *bufObj;
 
    if (MESA_VERBOSE & VERBOSE_API) {
-      _mesa_debug(ctx, "glBindBufferRange(%s, %u, %u, %d, %d)\n",
+      _mesa_debug(ctx, "glBindBufferRange(%s, %u, %u, %ld, %ld)\n",
                   _mesa_enum_to_string(target), index, buffer, offset, size);
    }