summaryrefslogtreecommitdiff
path: root/gpsdecode.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-06-02 01:50:25 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-06-02 01:53:05 -0400
commit7b6292a4fed8434b3344821bc7ee0ba1c90e124f (patch)
tree201ebefaf80e9d0f8b8be1ca64380e77897646b4 /gpsdecode.c
parent991bd5cbc9a8d172079e4dd420ae3a0fdce69ab0 (diff)
downloadgpsd-7b6292a4fed8434b3344821bc7ee0ba1c90e124f.tar.gz
Clean up a couple of string-format errors. All regression tests pass.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r--gpsdecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsdecode.c b/gpsdecode.c
index cc257161..c510cc66 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -123,9 +123,9 @@ static void aivdm_csv_dump(struct ais_t *ais, char *buf, size_t buflen)
ais->type6.dac235fid10.ana_ext2,
ais->type6.dac235fid10.racon,
ais->type6.dac235fid10.light,
- ais->type6.dac235fid10.alarm,
+ (uint)ais->type6.dac235fid10.alarm,
ais->type6.dac235fid10.stat_ext,
- ais->type6.dac235fid10.off_pos);
+ (uint)ais->type6.dac235fid10.off_pos);
imo = true;
break;
}