diff options
author | Gary E. Miller <gem@rellim.com> | 2016-03-29 22:13:31 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-03-29 22:13:31 -0700 |
commit | 7ace9404beee8e302e69ffb7fdf5afe863a0d9ac (patch) | |
tree | f99bdc1da789c90fc33249efb6e09f9e98f72434 /driver_skytraq.c | |
parent | c8ff055d49382b8076e9fd414e69e6894c926ebb (diff) | |
download | gpsd-7ace9404beee8e302e69ffb7fdf5afe863a0d9ac.tar.gz |
Fix signed -> unsigned in Skytraq
Diffstat (limited to 'driver_skytraq.c')
-rw-r--r-- | driver_skytraq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_skytraq.c b/driver_skytraq.c index 4b7ad861..9add25ec 100644 --- a/driver_skytraq.c +++ b/driver_skytraq.c @@ -56,7 +56,7 @@ static gps_mask_t sky_msg_DC(struct gps_device_t *session, mp = getles16(buf, 8); gpsd_log(&session->context->errout, 1, /* LOG_DATA, */ - "Skytraq: MID 0xDC: iod=%d, wn=%d, tow=%d, mp=%d, len=%d\n", + "Skytraq: MID 0xDC: iod=%u, wn=%u, tow=%u, mp=%u, len=%u\n", iod, wn, tow, mp, len); return 0; } @@ -75,7 +75,7 @@ static gps_mask_t sky_msg_DD(struct gps_device_t *session, nmeas = (unsigned int)buf[2]; gpsd_log(&session->context->errout, 1, /* LOG_DATA, */ - "Skytraq: MID 0xDD: iod=%d, nmeas=%d\n", + "Skytraq: MID 0xDD: iod=%u, nmeas=%u\n", iod, nmeas); return 0; } @@ -141,7 +141,7 @@ static gps_mask_t sky_msg_DE(struct gps_device_t *session, session->gpsdata.satellites_used = nsv; gpsd_log(&session->context->errout, LOG_DATA, - "Skytraq: MID 0xDE: nsvs=%d visible=%d iod=%d\n", nsvs, + "Skytraq: MID 0xDE: nsvs=%u visible=%u iod=%u\n", nsvs, session->gpsdata.satellites_visible, iod); return SATELLITE_SET; } |