diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-06-01 21:01:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-06-01 21:01:42 +0000 |
commit | aaac46b526ed09870b3a50887e2c2aeff48b92ed (patch) | |
tree | e2d8bd95d7984be2685e66a4419563595491fa17 /evermore.c | |
parent | 434aa4709368135fa7ef330c6f968c3ab59408c5 (diff) | |
download | gpsd-aaac46b526ed09870b3a50887e2c2aeff48b92ed.tar.gz |
splint cleanups, and move a static to wre it belongs in the driver structure.
Diffstat (limited to 'evermore.c')
-rw-r--r-- | evermore.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ static bool evermore_write(struct gps_device_t *session, unsigned char *msg, siz gpsd_report(LOG_IO, "writing EverMore control type 0x%02x: %s\n", msg[0], gpsd_hexdump(stuffed, len)); #ifdef ALLOW_RECONFIGURE - return (gpsd_write(session, stuffed, len) == len); + return (gpsd_write(session, stuffed, len) == (ssize_t)len); #else return 0; #endif /* ALLOW_RECONFIGURE */ |