From fe691b55eee603e71c34266304b6d78872c15462 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 22 Nov 2013 08:04:10 -0500 Subject: Address Savannah sr #108406: Trimble Thunderbolt reporting wrong time. --- 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 73d1e66a..540e73af 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -840,7 +840,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) s1 = (int16_t)getbeu16(buf, 5); /* week */ s2 = getbes16(buf, 7); /* leap seconds */ - if ((int)u1 > 10) { + if ((int)ul1 > 10) { session->context->leap_seconds = (int)s2; session->context->valid |= LEAP_SECOND_VALID; session->newdata.time = -- cgit v1.2.1