summaryrefslogtreecommitdiff
path: root/gpsdecode.c
diff options
context:
space:
mode:
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 10b389e8..e70c325e 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -395,7 +395,7 @@ static void decode(FILE * fpin, FILE * fpout)
(void)fputs((char *)lexer.outbuffer, stdout);
/*@ -uniondef */
if (aivdm_decode
- ((char *)lexer.outbuffer, lexer.outbuflen, &aivdm, &ais)) {
+ ((char *)lexer.outbuffer, lexer.outbuflen, aivdm, &ais)) {
if (!json)
aivdm_csv_dump(&ais, buf, sizeof(buf));
else