From 6e513d9cd47fd908ea663c27b35fe56fbec82383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Fri, 16 Jan 2015 12:59:17 +0100 Subject: fixed chdman.c compiler warning (nw) --- src/tools/chdman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/chdman.c b/src/tools/chdman.c index 621c55580ae..e9919bc9625 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -1698,7 +1698,7 @@ static void do_create_hd(parameters_t ¶ms) astring *size_str = params.find(OPTION_SIZE); if (size_str != NULL) { - if (sscanf(*size_str, "%d", &filesize) != 1) + if (sscanf(*size_str, "%"I64FMT"d", &filesize) != 1) report_error(1, "Invalid size string"); } } -- cgit v1.2.3