summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 09:05:32 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 09:05:32 +0000
commitb85ca4e26b61471cd17e9468efbb49c56b77fdb9 (patch)
tree51fe0e01ae5665a98f4b28fda241ee244ca80e8e /driver_evermore.c
parentdad8b2b68113840c826e43e3857c487498271c85 (diff)
downloadgpsd-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.c2
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;