diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 17:29:38 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 17:29:38 -0700 |
commit | 51500bbd427387bb1847f6d00364091f2bc4f455 (patch) | |
tree | ec4d3526ac189f466c31cafe290e1311774eae80 /driver_navcom.c | |
parent | e67e4118a0cbb5b5cecc62e7440299d0b5b35a37 (diff) | |
download | gpsd-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_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); |