summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
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);