From 37d40cb2de1bd35e278004490eabd99867978d12 Mon Sep 17 00:00:00 2001 From: "Alan D. Brunelle" Date: Mon, 5 Mar 2007 18:20:37 +0100 Subject: [PATCH] Fix warning in output.c where __u64 is a long, not a long long Signed-off-by: Alan D. Brunelle Signed-off-by: Jens Axboe --- btt/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btt/output.c b/btt/output.c index 1c80dfe..1278434 100644 --- a/btt/output.c +++ b/btt/output.c @@ -504,7 +504,7 @@ void output_histos(void) for (i = 0; i < (N_HIST_BKTS-1); i++) fprintf(ofp, "%4d %lld\n", (i+1), (long long)q_histo[i]); fprintf(ofp, "\n# Q bucket for > %d\n%4d %lld\n", (int)N_HIST_BKTS-1, - N_HIST_BKTS-1, q_histo[N_HIST_BKTS-1]); + N_HIST_BKTS-1, (long long)q_histo[N_HIST_BKTS-1]); fclose(ofp); sprintf(fname, "%s_dhist.dat", output_name); @@ -517,7 +517,7 @@ void output_histos(void) for (i = 0; i < (N_HIST_BKTS-1); i++) fprintf(ofp, "%4d %lld\n", (i+1), (long long)d_histo[i]); fprintf(ofp, "\n# D bucket for > %d\n%4d %lld\n", (int)N_HIST_BKTS-1, - N_HIST_BKTS-1, d_histo[N_HIST_BKTS-1]); + N_HIST_BKTS-1, (long long)d_histo[N_HIST_BKTS-1]); fclose(ofp); } -- 2.25.1