summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-03-05 20:07:44 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-03-05 20:07:44 +0000
commitceaf1935a380a68ddda0bba8e4eed31f8b942771 (patch)
treebfc32d6a61832c9dbd3d215d60e7ad705d354290 /driver_evermore.c
parente0c6c60865118e896deccd02622b2d03b93a26d1 (diff)
downloadgpsd-ceaf1935a380a68ddda0bba8e4eed31f8b942771.tar.gz
squelch warning about sign comparison
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 41031121..21fc19ba 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -384,7 +384,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!=session->gpsdata.parity || stopbits!=session->gpsdata.parity) {
+ if (parity!=(int)session->gpsdata.parity || stopbits!=(int)session->gpsdata.parity) {
return false;
} else {
unsigned char tmp8;