struct fileio: improve member types

Add const keyword to file url and cast to free().

Make size an ssize_t and chase all format strings that use it.
This commit is contained in:
Zachary T Welch
2009-11-13 14:22:21 -08:00
parent 9763aef76a
commit 69df712d1d
6 changed files with 7 additions and 7 deletions

View File

@@ -1637,7 +1637,7 @@ COMMAND_HANDLER(handle_nand_dump_command)
if (nand_fileio_finish(&s) == ERROR_OK)
{
command_print(cmd_ctx, "dumped %lld byte in %fs (%0.3f kb/s)",
command_print(cmd_ctx, "dumped %zu bytes in %fs (%0.3f kb/s)",
s.fileio.size, duration_elapsed(&s.bench),
duration_kbps(&s.bench, s.fileio.size));
}