summaryrefslogtreecommitdiff
path: root/ao-tools/ao-sky-flash/sky_bin.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-01-03 11:41:49 -0800
committerKeith Packard <keithp@keithp.com>2019-01-03 12:09:58 -0800
commit6f729ff46b2f4531db68f0af85e7e9fe0f6d1969 (patch)
treed0a93a48bd3012decbb230f5aa17ecc6c793cad2 /ao-tools/ao-sky-flash/sky_bin.c
parentf14c799ae7ff3be56c28f5694f04c03daff7708e (diff)
ao-tools: Fix warnings in ao-tools
None of these appear likely to have caused actual problems. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-sky-flash/sky_bin.c')
-rw-r--r--ao-tools/ao-sky-flash/sky_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-sky-flash/sky_bin.c b/ao-tools/ao-sky-flash/sky_bin.c
index d728d0c2..2f7719ff 100644
--- a/ao-tools/ao-sky-flash/sky_bin.c
+++ b/ao-tools/ao-sky-flash/sky_bin.c
@@ -48,7 +48,7 @@ skytraq_send_bin(int fd, const char *filename)
size = ftell(file);
rewind(file);
- sprintf(message, "BINSIZE = %d Checksum = %d Loopnumber = %d ", size, cksum, 1);
+ sprintf(message, "BINSIZE = %ld Checksum = %d Loopnumber = %d ", size, cksum, 1);
ret = skytraq_cmd_wait(fd, message, strlen(message) + 1, "OK", 20000);
if (ret < 0)