diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-01 16:12:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-01 16:12:17 +0000 |
commit | 914843e7b3e6f5e1ad74635a172c3ff4cd3246f3 (patch) | |
tree | d14279c19e1b634da15f39ea26ce018c409edcef | |
parent | 49f26b2927ea46f37cf6a9383e823b88cc4b2efc (diff) | |
download | gpsd-914843e7b3e6f5e1ad74635a172c3ff4cd3246f3.tar.gz |
Quiet down splint.
-rw-r--r-- | garmin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |