summaryrefslogtreecommitdiff
path: root/libgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-06-07 13:00:10 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-06-07 13:00:10 +0000
commit3cbcbb2d4c2012f6c15862612f84383670d1cdd6 (patch)
tree20e5b864d7942f950eb9431f0893f86576ab63da /libgps.c
parent17b4d514a3811a4ccdfbf2d379547dcb943b092f (diff)
downloadgpsd-3cbcbb2d4c2012f6c15862612f84383670d1cdd6.tar.gz
More splint cleanup.
Diffstat (limited to 'libgps.c')
-rw-r--r--libgps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgps.c b/libgps.c
index c308504d..043cb17c 100644
--- a/libgps.c
+++ b/libgps.c
@@ -460,8 +460,8 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata)
gpsdata->profiling = (sp[2] == '1');
break;
case '$':
- /*@ +matchanyintegral @*/
- (void)sscanf(sp, "$=%s %d %lf %lf %lf %lf %lf %lf",
+ /*@ +matchanyintegral -formatcode @*/
+ (void)sscanf(sp, "$=%s %zd %lf %lf %lf %lf %lf %lf",
gpsdata->tag,
&gpsdata->sentence_length,
&gpsdata->fix.time,
@@ -470,7 +470,7 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata)
&gpsdata->d_decode_time,
&gpsdata->poll_time,
&gpsdata->emit_time);
- /*@ -matchanyintegral @*/
+ /*@ -matchanyintegral +formatcode @*/
break;
}
}