From 6b2e8ab641522c61fa520ca47b3008dc65a8aabb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 28 Mar 2015 06:32:37 -0400 Subject: splint cleanup. Fixes for minor but real issues... ...no attempt to address the weird cross-platfprm variability we've seen lately. All regression tests pass. --- driver_tsip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_tsip.c') diff --git a/driver_tsip.c b/driver_tsip.c index 97cb4514..5fbecd16 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -716,7 +716,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) if ((session->newdata.track = atan2(d1, d2) * RAD_2_DEG) < 0) session->newdata.track += 360.0; session->newdata.latitude = (double)sl1 * SEMI_2_DEG; - session->newdata.longitude = ul2 * SEMI_2_DEG; + session->newdata.longitude = (double)ul2 * SEMI_2_DEG; if (session->newdata.longitude > 180.0) session->newdata.longitude -= 360.0; session->gpsdata.separation = -- cgit v1.2.1