summaryrefslogtreecommitdiff
path: root/progs/tools
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-03-06 11:50:33 -0800
committerIan Romanick <idr@us.ibm.com>2007-03-06 11:50:33 -0800
commitfa8961069c5a99f118deeb5c0217e7c7e1de5f1a (patch)
tree89bfa3efc22b429f0197b081963d55ef1bdc4614 /progs/tools
parent091be1119050f8cd158161aa3960b1f4260cd790 (diff)
parenta510bc3ee1a696da120c09ee4ec33dc033f671ac (diff)
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
Diffstat (limited to 'progs/tools')
-rw-r--r--progs/tools/trace/gltrace_support.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tools/trace/gltrace_support.cc b/progs/tools/trace/gltrace_support.cc
index fb0404c450..b188e73f29 100644
--- a/progs/tools/trace/gltrace_support.cc
+++ b/progs/tools/trace/gltrace_support.cc
@@ -20,6 +20,7 @@
*/
#include "gltrace_support.h"
+#include <assert.h>
#include <sstream>
#include <fstream>
#include <iomanip>
@@ -34,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));