summaryrefslogtreecommitdiffstats
path: root/progs/tools/trace/gltrace_support.cc
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tools/trace/gltrace_support.cc')
-rw-r--r--progs/tools/trace/gltrace_support.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tools/trace/gltrace_support.cc b/progs/tools/trace/gltrace_support.cc
index a557cb32d84..b188e73f29e 100644
--- a/progs/tools/trace/gltrace_support.cc
+++ b/progs/tools/trace/gltrace_support.cc
@@ -35,7 +35,7 @@ namespace {
{
static char buf[4096];
int status;
- unsigned int length = sizeof(buf)-1;
+ size_t length = sizeof(buf)-1;
memset (buf, 0, sizeof(buf));