diff options
author | Brian Paul <brianp@vmware.com> | 2013-02-04 15:53:07 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-02-23 08:20:36 -0700 |
commit | 840d6faf687cc9198ea748cfd6e94bcb69ee71ac (patch) | |
tree | 844a8fb3e71cbed5dd9eaab7fb7b23bf09a8a353 /src/mesa | |
parent | 0d760a8160bbbd65a8b101fafb16fabd976ae0c9 (diff) |
st/mesa: fix debug_printf() format string warning
Use %td for ptrdiff_t (aka GLsizeiptrARB).
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index d5167352c40..8ff32c84291 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -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) { |