aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew W. S. Bell2010-01-29 20:14:44 -0600
committerKristian Høgsberg2010-02-04 18:45:10 -0600
commite4a519635f75bde38aeb5b09f2ff4efbf73453e9 (patch)
treee96db2209717740bdc28a0288255af013e4a3fbc /tests/dristat.c
parent1802e1a4e747b5906d3af10c4a53fd457eddcbb4 (diff)
downloadexternal-libdrm-e4a519635f75bde38aeb5b09f2ff4efbf73453e9.tar.gz
external-libdrm-e4a519635f75bde38aeb5b09f2ff4efbf73453e9.tar.xz
external-libdrm-e4a519635f75bde38aeb5b09f2ff4efbf73453e9.zip
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)
108 flagname[6] = '\0'; 108 flagname[6] = '\0';
109 109
110 printf(" %4d 0x%08lx 0x%08lx %3.3s %6.6s 0x%08lx ", 110 printf(" %4d 0x%08lx 0x%08lx %3.3s %6.6s 0x%08lx ",
111 i, offset, (unsigned long)size, typename, flagname, handle); 111 i, (unsigned long)offset, (unsigned long)size,
112 typename, flagname, (unsigned long)handle);
112 if (mtrr < 0) printf("none\n"); 113 if (mtrr < 0) printf("none\n");
113 else printf("%4d\n", mtrr); 114 else printf("%4d\n", mtrr);
114 } 115 }