summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-22 08:04:10 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-22 08:04:10 -0500
commitfe691b55eee603e71c34266304b6d78872c15462 (patch)
tree6f87a7d97d6c63765ac4d18bec769925814c385c /driver_tsip.c
parent4aa8ebbcdeff79733fbf380a2bddecd2b041ef88 (diff)
downloadgpsd-fe691b55eee603e71c34266304b6d78872c15462.tar.gz
Address Savannah sr #108406: Trimble Thunderbolt reporting wrong time.
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 1 insertions, 1 deletions
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 =