summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/cbfscomptool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfscomptool.c b/util/cbfstool/cbfscomptool.c
index 3430809e0d..1021bc858c 100644
--- a/util/cbfstool/cbfscomptool.c
+++ b/util/cbfstool/cbfscomptool.c
@@ -81,7 +81,7 @@ int benchmark()
clock_gettime(CLOCK_MONOTONIC, &t_e);
printf("compressing %d bytes to %d took %ld seconds\n",
bufsize, outsize,
- t_e.tv_sec - t_s.tv_sec);
+ (long)(t_e.tv_sec - t_s.tv_sec));
}
free(data);
free(compressed_data);