aboutsummaryrefslogtreecommitdiffstats
path: root/nrfdfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'nrfdfu.c')
-rw-r--r--nrfdfu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nrfdfu.c b/nrfdfu.c
index 96f99d9..ab58464 100644
--- a/nrfdfu.c
+++ b/nrfdfu.c
@@ -65,10 +65,11 @@ main (int argc, char *argv[])
bin_size = read_file_from_zip (zip, m->bin_file, &bin);
- printf ("%d bytes init_data, %d bytes firmware\n", dat_size, bin_size);
+ printf ("%u bytes init_data, %u bytes firmware\n",(unsigned) dat_size, (unsigned) bin_size);
dfu (bdaddr, m->type, m->dfu_version, dat, dat_size, bin, bin_size);
+return EXIT_SUCCESS;
}