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_evermore.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_evermore.c')
-rw-r--r-- | driver_evermore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_evermore.c b/driver_evermore.c index 6a6b09c7..24f9996d 100644 --- a/driver_evermore.c +++ b/driver_evermore.c @@ -396,7 +396,7 @@ static bool evermore_speed(struct gps_device_t *session, /*@ -type @*/ gpsd_report(LOG_PROG, "evermore_speed(%d%c%d)\n", speed, parity, stopbits); /* parity and stopbit switching aren't available on this chip */ - if (parity!=(int)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 { unsigned char tmp8; |