summaryrefslogtreecommitdiff
path: root/driver_superstar2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 06:29:48 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 06:29:48 +0000
commitdbda81f426dc8cc2d2271b5efbe022d50a5f7732 (patch)
tree8af922e3bcdcd80a76587b49be05e9c9d84f88eb /driver_superstar2.c
parentef5669b4f86d2e9c4f9f0bc12576040cbf511cea (diff)
downloadgpsd-dbda81f426dc8cc2d2271b5efbe022d50a5f7732.tar.gz
Continuing the splint cleanup.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r--driver_superstar2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index a91752a3..ee3f8a16 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -594,7 +594,7 @@ static bool superstar2_set_speed(struct gps_device_t *session,
speed_t speed, char parity, int stopbits)
{
/* parity and stopbit switching aren't available on this chip */
- if (parity!=(char)session->gpsdata.dev.parity || (unsigned int)stopbits!=session->gpsdata.dev.stopbits) {
+ if (parity!=(char)session->gpsdata.dev.parity || stopbits!=session->gpsdata.dev.stopbits) {
return false;
} else {
/*@ +charint @*/