diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-10 16:51:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-10 16:51:56 +0000 |
commit | 8b96601846782e2c93c1db2101131d6d26739e10 (patch) | |
tree | 7f5fdcf488a7611d1eb2491e43add2cfae4336a8 /garmin.c | |
parent | d2f658160518ea0961ff2a9c42311ef3d98323c9 (diff) | |
download | gpsd-8b96601846782e2c93c1db2101131d6d26739e10.tar.gz |
Compiler-warning and splint cleanup.
Diffstat (limited to 'garmin.c')
-rw-r--r-- | garmin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,7 +727,7 @@ static bool garmin_detect(struct gps_device_t *session) } ok = false; - while ( 0 != fgets( buf, sizeof(buf), fp ) ) { + while ( 0 != fgets( buf, (int)sizeof(buf), fp ) ) { if ( strstr( buf, "garmin_gps") ) { ok = true; break; @@ -773,7 +773,7 @@ static bool garmin_detect(struct gps_device_t *session) return true; } -static void garmin_probe_subtype(struct gps_device_t *session, int seq) +static void garmin_probe_subtype(struct gps_device_t *session, unsigned int seq) { if (seq == 0) { // Tell the device to send product data |