mirror of
https://github.com/holub/mame
synced 2025-05-07 06:44:51 +03:00
fixed chdman.c compiler warning (nw)
This commit is contained in:
parent
33ebcc9120
commit
6e513d9cd4
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user