summaryrefslogtreecommitdiff
path: root/driver_oncore.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-08-15 17:29:38 -0700
committerGary E. Miller <gem@rellim.com>2016-08-15 17:29:38 -0700
commit51500bbd427387bb1847f6d00364091f2bc4f455 (patch)
treeec4d3526ac189f466c31cafe290e1311774eae80 /driver_oncore.c
parente67e4118a0cbb5b5cecc62e7440299d0b5b35a37 (diff)
downloadgpsd-51500bbd427387bb1847f6d00364091f2bc4f455.tar.gz
uint was rmoved in C99. If gpsd enforce C99, then uint must go.
uint is now unsigned int.
Diffstat (limited to 'driver_oncore.c')
-rw-r--r--driver_oncore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_oncore.c b/driver_oncore.c
index caeb3575..0063d6a9 100644
--- a/driver_oncore.c
+++ b/driver_oncore.c
@@ -105,7 +105,7 @@ oncore_msg_navsol(struct gps_device_t *session, unsigned char *buf,
unpacked_date.tm_sec = (int)getub(buf, 10);
unpacked_date.tm_isdst = 0;
unpacked_date.tm_wday = unpacked_date.tm_yday = 0;
- nsec = (uint) getbeu32(buf, 11);
+ nsec = (unsigned int) getbeu32(buf, 11);
session->newdata.time = (timestamp_t)mkgmtime(&unpacked_date) + nsec * 1e-9;
mask |= TIME_SET;