summaryrefslogtreecommitdiff
path: root/monitor_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2010-04-18 19:57:14 -0700
committerGary E. Miller <gem@rellim.com>2010-04-18 19:57:14 -0700
commit16a5ac2d26034249741677838f2f318eda33efd7 (patch)
tree53f36b2695bff228024f89b73a9f191e2005ec85 /monitor_ubx.c
parent835671b93c1a559beab54d1f47b7a6d0efed08bf (diff)
downloadgpsd-16a5ac2d26034249741677838f2f318eda33efd7.tar.gz
Revert typo.
Diffstat (limited to 'monitor_ubx.c')
-rw-r--r--monitor_ubx.c2
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);
}