diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 09:05:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 09:05:32 +0000 |
commit | b85ca4e26b61471cd17e9468efbb49c56b77fdb9 (patch) | |
tree | 51fe0e01ae5665a98f4b28fda241ee244ca80e8e /driver_navcom.c | |
parent | dad8b2b68113840c826e43e3857c487498271c85 (diff) | |
download | gpsd-b85ca4e26b61471cd17e9468efbb49c56b77fdb9.tar.gz |
Son of the Splint Cleanup.
Major change in this set is enforcong consistency about the data type
of serial parity information.
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 810f2506..e819e67d 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -1195,7 +1195,7 @@ static bool navcom_speed(struct gps_device_t *session, unsigned int speed, char parity, int stopbits) { /* parity and stopbit switching aren't implemented */ - if (parity!=(char)session->gpsdata.dev.parity || stopbits!=(int)session->gpsdata.dev.parity) { + if (parity!=session->gpsdata.dev.parity || stopbits!=(int)session->gpsdata.dev.parity) { return false; } else { u_int8_t port_selection; |