From 51500bbd427387bb1847f6d00364091f2bc4f455 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 15 Aug 2016 17:29:38 -0700 Subject: uint was rmoved in C99. If gpsd enforce C99, then uint must go. uint is now unsigned int. --- driver_navcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_navcom.c') 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); -- cgit v1.2.1