summaryrefslogtreecommitdiff
path: root/net_gnss_dispatch.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-14 12:06:16 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-14 12:06:16 -0400
commitec4c580a12fe130f941b8cacf5c4b4d0ac43a8e5 (patch)
treeed97497eb599ad7fbad96b9236f726d38d824790 /net_gnss_dispatch.c
parentc2c6bbd8286932e8ceb03cd57f1b24d0e105e36c (diff)
downloadgpsd-ec4c580a12fe130f941b8cacf5c4b4d0ac43a8e5.tar.gz
Follow previous commit by removing a cast that is no longer needed.
Codebase splints clean.
Diffstat (limited to 'net_gnss_dispatch.c')
-rw-r--r--net_gnss_dispatch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net_gnss_dispatch.c b/net_gnss_dispatch.c
index 6a6bee85..daa74072 100644
--- a/net_gnss_dispatch.c
+++ b/net_gnss_dispatch.c
@@ -69,7 +69,7 @@ int netgnss_poll(struct gps_context_t *context)
context->rtcmbytes = 0;
return -1;
} else {
- context->rtcmbytes = (size_t)rtcmbytes;
+ context->rtcmbytes = (size_t) rtcmbytes;
context->rtcmtime = timestamp();
}
}
@@ -104,8 +104,7 @@ void rtcm_relay(struct gps_device_t *session)
&& session->device_type->rtcm_writer != NULL) {
if (session->device_type->rtcm_writer(session,
session->context->rtcmbuf,
- (size_t) session->context->
- rtcmbytes) == 0)
+ session->context->rtcmbytes) == 0)
gpsd_report(LOG_ERROR, "Write to RTCM sink failed\n");
else {
session->rtcmtime = timestamp();