summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-09 19:55:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-09 19:55:04 +0000
commitf8568d0193cd3d5e730b986e79d49fcda7c2367a (patch)
tree9b6d50dbeb5eb4b04cc2e7a27b6a04e8388728d1 /gpsmon.c
parent5dcc7402bc00a21c7432316af66bca429fc855df (diff)
downloadgpsd-f8568d0193cd3d5e730b986e79d49fcda7c2367a.tar.gz
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 5df36f6c..3eadc690 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -763,7 +763,7 @@ int main (int argc, char **argv)
else if (serial) {
speed_t speed;
char parity = (char)session.gpsdata.dev.parity;
- unsigned int stopbits = session.gpsdata.dev.stopbits;
+ unsigned int stopbits = (unsigned int)session.gpsdata.dev.stopbits;
char *modespec;
modespec = strchr(arg, ':');