summaryrefslogtreecommitdiff
path: root/garmin.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-10 16:51:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-10 16:51:56 +0000
commit8b96601846782e2c93c1db2101131d6d26739e10 (patch)
tree7f5fdcf488a7611d1eb2491e43add2cfae4336a8 /garmin.c
parentd2f658160518ea0961ff2a9c42311ef3d98323c9 (diff)
downloadgpsd-8b96601846782e2c93c1db2101131d6d26739e10.tar.gz
Compiler-warning and splint cleanup.
Diffstat (limited to 'garmin.c')
-rw-r--r--garmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/garmin.c b/garmin.c
index 149d4f39..fbaac8b7 100644
--- a/garmin.c
+++ b/garmin.c
@@ -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