summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-03 15:13:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-03 15:13:04 +0000
commit6eaa6987482abc813c59293ca0a2471e055a5087 (patch)
tree4ebbd6f824f7087ff0cfa468b4ddd6b1bb65b553 /driver_ubx.c
parent127e22cd8c36510363870645e3288cf39d1589dc (diff)
downloadgpsd-6eaa6987482abc813c59293ca0a2471e055a5087.tar.gz
splint cleanup.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index b02cbb07..95a1ef48 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -222,7 +222,7 @@ ubx_msg_nav_svinfo(struct gps_device_t *session, unsigned char *buf, size_t data
/*@ -predboolothers */
if (getub(buf, off+2) & 0x01)
session->gpsdata.used[nsv++] = session->gpsdata.PRN[j];
- if (session->gpsdata.PRN[j] == session->driver.ubx.sbas_in_use)
+ if (session->gpsdata.PRN[j] == (int)session->driver.ubx.sbas_in_use)
session->gpsdata.used[nsv++] = session->gpsdata.PRN[j];
/*@ +predboolothers */
j++;