summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-10 05:26:00 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-10 05:26:00 -0500
commit736379fc0411971e4f2aa3e8d048ab1205dbcc76 (patch)
tree828aa83305b34f5804d75d65ed8a35cbad930a30 /driver_zodiac.c
parentc56017271ca1d53b5f45e5dcff551fed8e3e29be (diff)
downloadgpsd-736379fc0411971e4f2aa3e8d048ab1205dbcc76.tar.gz
And still more double -> timestamp_t moves.
All regression tests pass, splint passes.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index 221f18a7..123f3d7b 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -167,7 +167,7 @@ static gps_mask_t handle1000(struct gps_device_t *session)
unpacked_date.tm_sec = (int)getzword(24);
subseconds = (int)getzlong(25) / 1e9;
/*@ -compdef */
- session->newdata.time = (double)mkgmtime(&unpacked_date) + subseconds;
+ session->newdata.time = (timestamp_t)mkgmtime(&unpacked_date) + subseconds;
/*@ +compdef */
/*@ -type @*/
session->newdata.latitude = ((long)getzlong(27)) * RAD_2_DEG * 1e-8;