summaryrefslogtreecommitdiff
path: root/t/btrace2fio.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-09-23 16:06:04 -0600
committerJens Axboe <axboe@fb.com>2014-09-23 16:06:04 -0600
commit761c27292d4add2be17056d8065cad4ff4e87036 (patch)
tree1633dbc9c3b788be2b7e0460494375d210a02082 /t/btrace2fio.c
parente5bf5a886e3256d03f7c1427ef9efe3dc72f3b0f (diff)
downloadfio-761c27292d4add2be17056d8065cad4ff4e87036.tar.gz
fio-761c27292d4add2be17056d8065cad4ff4e87036.tar.bz2
Fix 32-bit compile warnings
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 't/btrace2fio.c')
-rw-r--r--t/btrace2fio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/btrace2fio.c b/t/btrace2fio.c
index e4e05ca4..5666a560 100644
--- a/t/btrace2fio.c
+++ b/t/btrace2fio.c
@@ -589,7 +589,7 @@ static void __output_p_ascii(struct btrace_pid *p, unsigned long *ios)
perc = ((float) o->merges[i] * 100.0) / (float) total;
printf("\tmerges: %lu (perc=%3.2f%%)\n", o->merges[i], perc);
perc = ((float) o->seq[i] * 100.0) / (float) o->ios[i];
- printf("\tseq: %lu (perc=%3.2f%%)\n", o->seq[i], perc);
+ printf("\tseq: %lu (perc=%3.2f%%)\n", (unsigned long) o->seq[i], perc);
printf("\trate: %lu KB/sec\n", o_to_kb_rate(o, i));
for (j = 0; j < o->nr_bs[i]; j++) {