fixed chdman.c compiler warning (nw)

This commit is contained in:
Oliver Stöneberg 2015-01-16 12:59:17 +01:00
parent 33ebcc9120
commit 6e513d9cd4

View File

@ -1698,7 +1698,7 @@ static void do_create_hd(parameters_t &params)
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");
}
}