st/mesa: fix debug_printf() format string warning

Use %td for ptrdiff_t (aka GLsizeiptrARB).
This commit is contained in:
Brian Paul 2013-02-04 15:53:07 -07:00
parent 0d760a8160
commit 840d6faf68
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ st_bufferobj_data(struct gl_context *ctx,
pipe_resource_reference( &st_obj->buffer, NULL );
if (ST_DEBUG & DEBUG_BUFFER) {
debug_printf("Create buffer size %lu bind 0x%x\n", size, bind);
debug_printf("Create buffer size %td bind 0x%x\n", size, bind);
}
if (size != 0) {