summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-08 10:23:32 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-08 10:23:32 -0400
commit93f417401f02b85e936d93cf5f7ba54d75de49de (patch)
treedc26b8d52b09aeafdcc19a58b1eb0e01a5d4ad8c /driver_proto.c
parentc492d91075cbb10c13b2670a8d63e0dae1014ec4 (diff)
downloadgpsd-93f417401f02b85e936d93cf5f7ba54d75de49de.tar.gz
One of the float-elimination steps busted something. Revert.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_proto.c b/driver_proto.c
index 16b0ac7f..1b44990a 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -154,7 +154,7 @@ _proto__msg_utctime(struct gps_device_t *session, unsigned char *buf, size_t dat
tow = GET_MS_TIMEOFWEEK();
gps_week = GET_WEEKNUMBER();
session->context->leap_seconds = GET_GPS_LEAPSECONDS();
- session->newdata.time = (timestamp_t)gpsd_gpstime_resolve(session, gps_week, tow / 1000.0);
+ session->newdata.time = gpsd_gpstime_resolve(session, gps_week, tow / 1000.0);
return TIME_SET | PPSTIME_IS | ONLINE_SET;
}