diff options
Diffstat (limited to 'driver_navcom.c')
-rw-r--r-- | driver_navcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_navcom.c b/driver_navcom.c index 2680571c..6f1aaaae 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -1109,7 +1109,7 @@ gps_mask_t navcom_parse(struct gps_device_t * session, unsigned char *buf, cmd_id = (unsigned char)getub(buf, 3); //payload = &buf[6]; - msg_len = (uint) getleu16(buf, 4); + msg_len = (unsigned int) getleu16(buf, 4); gpsd_log(&session->context->errout, LOG_RAW, "Navcom: packet type 0x%02x\n", cmd_id); |