summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-01 16:12:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-01 16:12:17 +0000
commit914843e7b3e6f5e1ad74635a172c3ff4cd3246f3 (patch)
treed14279c19e1b634da15f39ea26ce018c409edcef
parent49f26b2927ea46f37cf6a9383e823b88cc4b2efc (diff)
downloadgpsd-914843e7b3e6f5e1ad74635a172c3ff4cd3246f3.tar.gz
Quiet down splint.
-rw-r--r--garmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/garmin.c b/garmin.c
index 89506a85..26cf666d 100644
--- a/garmin.c
+++ b/garmin.c
@@ -825,9 +825,9 @@ static void garmin_init(struct gps_device_t *session)
//SendPacket(session, thePacket);
}
-static int garmin_get_packet(struct gps_device_t *session)
+static ssize_t garmin_get_packet(struct gps_device_t *session)
{
- return ( 0 == GetPacket( session ) ? 1 : 0);
+ return (ssize_t)( 0 == GetPacket( session ) ? 1 : 0);
}
static gps_mask_t garmin_parse_input(struct gps_device_t *session)