summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 14:22:21 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-16 15:47:09 -0800
commit69df712d1d06b2c698bed3de086b9f734de73b7e (patch)
tree9defb053b7bce774beb5ebac30bae757b0dd5ba8 /src/target
parent9763aef76a42fdaedcec9825fdf502f8cb7dd628 (diff)
downloadopenocd_libswd-69df712d1d06b2c698bed3de086b9f734de73b7e.tar.gz
openocd_libswd-69df712d1d06b2c698bed3de086b9f734de73b7e.tar.bz2
openocd_libswd-69df712d1d06b2c698bed3de086b9f734de73b7e.tar.xz
openocd_libswd-69df712d1d06b2c698bed3de086b9f734de73b7e.zip
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.
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c
index c24085f1..f141e933 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -2543,7 +2543,7 @@ COMMAND_HANDLER(handle_dump_image_command)
if ((ERROR_OK == retval) && (duration_measure(&bench) == ERROR_OK))
{
command_print(cmd_ctx,
- "dumped %lld bytes in %fs (%0.3f kb/s)", fileio.size,
+ "dumped %zu bytes in %fs (%0.3f kb/s)", fileio.size,
duration_elapsed(&bench), duration_kbps(&bench, fileio.size));
}