diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-08 21:13:05 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-08 21:13:05 -0500 |
commit | ba62ec96d7e858a4f8cc331ad49c6f66d0b7741c (patch) | |
tree | ed012892969a66119be26f9544dadd8d2f628ee9 /libgps_core.c | |
parent | 473f6f24e43ea629e6b4822150546eb287e77af4 (diff) | |
download | gpsd-ba62ec96d7e858a4f8cc331ad49c6f66d0b7741c.tar.gz |
More partial splint cleanup.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c index c7a6ec6a..64bc0a5a 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -599,7 +599,7 @@ int gps_read(/*@out@*/struct gps_data_t *gpsdata) gpsdata->waiting -= response_length; gpsdata->set |= PACKET_SET; - return (status == 0) ? response_length : status; + return (status == 0) ? (int)response_length : status; } /*@+compdef -usedef +uniondef@*/ |