From 03b9e16507627e3163cfdf3d119af14e5fb1cd65 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 1 Mar 2007 07:39:27 -0700 Subject: include assert.h --- progs/tools/trace/gltrace_support.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'progs/tools/trace/gltrace_support.cc') diff --git a/progs/tools/trace/gltrace_support.cc b/progs/tools/trace/gltrace_support.cc index fb0404c450..a557cb32d8 100644 --- a/progs/tools/trace/gltrace_support.cc +++ b/progs/tools/trace/gltrace_support.cc @@ -20,6 +20,7 @@ */ #include "gltrace_support.h" +#include #include #include #include -- cgit v1.2.3 From 887d3c67cbe1f09ec5a816eca859936addb3d3ec Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 1 Mar 2007 07:42:42 -0700 Subject: s/unsigned int/size_t/ (bug 10135) --- progs/tools/trace/gltrace_support.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/tools/trace/gltrace_support.cc') 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)); -- cgit v1.2.3