From 65041c4a19bc6d1cc86f768259b9e0888af0bd5f Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Fri, 27 Feb 2015 11:51:05 -0500 Subject: Fix type-limits, pointer-arith and sign-compare warnings Signed-off-by: Jan Vesely Reviewed-by: Emil Velikov --- tests/dristat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/dristat.c') 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; -- cgit v1.2.3