diff options
author | Gary E. Miller <gem@rellim.com> | 2010-04-18 19:57:14 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2010-04-18 19:57:14 -0700 |
commit | 16a5ac2d26034249741677838f2f318eda33efd7 (patch) | |
tree | 53f36b2695bff228024f89b73a9f191e2005ec85 /monitor_ubx.c | |
parent | 835671b93c1a559beab54d1f47b7a6d0efed08bf (diff) | |
download | gpsd-16a5ac2d26034249741677838f2f318eda33efd7.tar.gz |
Revert typo.
Diffstat (limited to 'monitor_ubx.c')
-rw-r--r-- | monitor_ubx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_ubx.c b/monitor_ubx.c index 0689127e..1d461228 100644 --- a/monitor_ubx.c +++ b/monitor_ubx.c @@ -141,7 +141,7 @@ static void display_nav_sol(unsigned char *buf, size_t data_len) if ((flags & (UBX_SOL_VALID_WEEK | UBX_SOL_VALID_TIME)) != 0) { tow = (unsigned int)getleul(buf, 0); gw = (unsigned short)getlesw(buf, 8); - t = gpstime_to_unix(gw, tow / 1000.0); + t = gpstime_to_unix((int)gw, tow / 1000.0); tt = (time_t) trunc(t); } |