summaryrefslogtreecommitdiff
path: root/tests/dristat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 449aa242..992ceb40 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -189,9 +189,9 @@ static void printhuman(unsigned long value, const char *name, int mult)
static void getstats(int fd, int i)
{
drmStatsT prev, curr;
- int j;
+ unsigned j;
double rate;
-
+
printf(" System statistics:\n");
if (drmGetStats(fd, &prev)) return;