diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-03-05 21:35:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-03-05 21:35:05 +0000 |
commit | 2d16d5583b3512cb58ae5ec38c9553e97f02990a (patch) | |
tree | 09384596c851f9f80ceb7e8b3318e6dffda1ad86 /driver_italk.c | |
parent | 6d8c3089f7274fcc8b6657e2e33ac078878fa949 (diff) | |
download | gpsd-2d16d5583b3512cb58ae5ec38c9553e97f02990a.tar.gz |
Use portable memset() rather than non-portable bzero().
Partial splint cleanup.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_italk.c b/driver_italk.c index a3abe551..f5ad9737 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -70,7 +70,7 @@ static gps_mask_t decode_itk_navfix(struct gps_device_t *session, unsigned char #define MAX(a,b) (((a) > (b)) ? (a) : (b)) session->gpsdata.satellites_used = - MAX(getleuw(buf, 7 + 12), getleuw(buf, 7 + 14)); + (int)MAX(getleuw(buf, 7 + 12), getleuw(buf, 7 + 14)); mask |= USED_SET ; if (flags & FIX_CONV_DOP_VALID){ |