aboutsummaryrefslogtreecommitdiff
path: root/tests/dristat.c
diff options
context:
space:
mode:
authorMatthew W. S. Bell <matthew@bells23.org.uk>2010-01-30 02:14:44 +0000
committerKristian Høgsberg <krh@bitplanet.net>2010-02-04 19:45:10 -0500
commite4a519635f75bde38aeb5b09f2ff4efbf73453e9 (patch)
treee96db2209717740bdc28a0288255af013e4a3fbc /tests/dristat.c
parent1802e1a4e747b5906d3af10c4a53fd457eddcbb4 (diff)
Tidy up compile warnings by cleaning up types.
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 48c3b51b..900a3e6e 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -108,7 +108,8 @@ static void getvm(int fd)
flagname[6] = '\0';
printf(" %4d 0x%08lx 0x%08lx %3.3s %6.6s 0x%08lx ",
- i, offset, (unsigned long)size, typename, flagname, handle);
+ i, (unsigned long)offset, (unsigned long)size,
+ typename, flagname, (unsigned long)handle);
if (mtrr < 0) printf("none\n");
else printf("%4d\n", mtrr);
}