summaryrefslogtreecommitdiff
path: root/gpsdecode.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-07-02 17:15:39 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-07-02 17:15:39 -0400
commit59c4396daed8216a6a0faaa51f9a95ce503201af (patch)
tree456b24812c3123d1131d41fd15bf51af647a3459 /gpsdecode.c
parent7f25576800dbd45a91023b2e1e268e20d3bccd5f (diff)
downloadgpsd-59c4396daed8216a6a0faaa51f9a95ce503201af.tar.gz
splint indicated yet another followup to the waterlevel signedness fix in AIS.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r--gpsdecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsdecode.c b/gpsdecode.c
index 1664e5ac..f08cc98b 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -155,7 +155,7 @@ static void aivdm_csv_dump(struct ais_t *ais, char *buf, size_t buflen)
switch(ais->type8.fid) {
case 11: /* IMO236 - Met/Hydro message */
(void)snprintf(buf + strlen(buf), buflen - strlen(buf),
- "|%d|%d|%02uT%02u:%02uZ|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u",
+ "|%d|%d|%02uT%02u:%02uZ|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%d|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u|%u",
ais->type8.dac1fid11.lon,
ais->type8.dac1fid11.lat,
ais->type8.dac1fid11.day,