summaryrefslogtreecommitdiff
path: root/progs/tools/trace
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tools/trace')
-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 a557cb32d8..b188e73f29 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));