diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-22 08:04:10 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-22 08:04:10 -0500 |
commit | fe691b55eee603e71c34266304b6d78872c15462 (patch) | |
tree | 6f87a7d97d6c63765ac4d18bec769925814c385c | |
parent | 4aa8ebbcdeff79733fbf380a2bddecd2b041ef88 (diff) | |
download | gpsd-fe691b55eee603e71c34266304b6d78872c15462.tar.gz |
Address Savannah sr #108406: Trimble Thunderbolt reporting wrong time.
-rw-r--r-- | driver_tsip.c | 2 |
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 = |