summaryrefslogtreecommitdiff
path: root/driver_superstar2.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 /driver_superstar2.c
parent5dcc7402bc00a21c7432316af66bca429fc855df (diff)
downloadgpsd-f8568d0193cd3d5e730b986e79d49fcda7c2367a.tar.gz
Partial splint cleanup. All regression tests pass.
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 c09bb3a9..6dd79441 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -416,7 +416,7 @@ static ssize_t
superstar2_write(struct gps_device_t *session, char *msg, size_t msglen)
{
unsigned short c = 0;
- size_t i;
+ ssize_t i;
for (i = 0; i < msglen - 2; i++)
c += (unsigned short)msg[i];