summaryrefslogtreecommitdiff
path: root/driver_rtcm3.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_rtcm3.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_rtcm3.c')
-rw-r--r--driver_rtcm3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c
index a860d07c..7edd69aa 100644
--- a/driver_rtcm3.c
+++ b/driver_rtcm3.c
@@ -98,8 +98,8 @@ void rtcm3_unpack(const struct gps_context_t *context,
//assert(ugrab(6) == 0x00);
ugrab(14);
- rtcm->length = (uint)ugrab(10);
- rtcm->type = (uint)ugrab(12);
+ rtcm->length = (unsigned int)ugrab(10);
+ rtcm->type = (unsigned int)ugrab(12);
gpsd_log(&context->errout, LOG_RAW, "RTCM3: type %d payload length %d\n",
rtcm->type, rtcm->length);
@@ -114,7 +114,7 @@ void rtcm3_unpack(const struct gps_context_t *context,
case 1001:
/* GPS Basic RTK, L1 Only */
- rtcm->rtcmtypes.rtcm3_1001.header.station_id = (uint)ugrab(12);
+ rtcm->rtcmtypes.rtcm3_1001.header.station_id = (unsigned int)ugrab(12);
rtcm->rtcmtypes.rtcm3_1001.header.tow = (time_t)ugrab(30);
rtcm->rtcmtypes.rtcm3_1001.header.sync = (bool)ugrab(1);
rtcm->rtcmtypes.rtcm3_1001.header.satcount = (unsigned short)ugrab(5);
@@ -134,7 +134,7 @@ void rtcm3_unpack(const struct gps_context_t *context,
case 1002:
/* GPS Extended RTK, L1 Only */
- rtcm->rtcmtypes.rtcm3_1002.header.station_id = (uint)ugrab(12);
+ rtcm->rtcmtypes.rtcm3_1002.header.station_id = (unsigned int)ugrab(12);
rtcm->rtcmtypes.rtcm3_1002.header.tow = (time_t)ugrab(30);
rtcm->rtcmtypes.rtcm3_1002.header.sync = (bool)ugrab(1);
rtcm->rtcmtypes.rtcm3_1002.header.satcount = (unsigned short)ugrab(5);
@@ -156,7 +156,7 @@ void rtcm3_unpack(const struct gps_context_t *context,
case 1003:
/* GPS Basic RTK, L1 & L2 */
- rtcm->rtcmtypes.rtcm3_1003.header.station_id = (uint)ugrab(12);
+ rtcm->rtcmtypes.rtcm3_1003.header.station_id = (unsigned int)ugrab(12);
rtcm->rtcmtypes.rtcm3_1003.header.tow = (time_t)ugrab(30);
rtcm->rtcmtypes.rtcm3_1003.header.sync = (bool)ugrab(1);
rtcm->rtcmtypes.rtcm3_1003.header.satcount = (unsigned short)ugrab(5);
@@ -185,7 +185,7 @@ void rtcm3_unpack(const struct gps_context_t *context,
case 1004:
/* GPS Extended RTK, L1 & L2 */
- rtcm->rtcmtypes.rtcm3_1004.header.station_id = (uint)ugrab(12);
+ rtcm->rtcmtypes.rtcm3_1004.header.station_id = (unsigned int)ugrab(12);
rtcm->rtcmtypes.rtcm3_1004.header.tow = (time_t)ugrab(30);
rtcm->rtcmtypes.rtcm3_1004.header.sync = (bool)ugrab(1);
rtcm->rtcmtypes.rtcm3_1004.header.satcount = (unsigned short)ugrab(5);