summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpxlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index 6f4ae4cf..eff63ef5 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -335,7 +335,7 @@ int main(int argc, char **argv)
(void)gps_stream(&gpsdata, flags, source.device);
print_gpx_header();
- (int)gps_mainloop(&gpsdata, 5000000, conditionally_log_fix);
+ (void)gps_mainloop(&gpsdata, 5000000, conditionally_log_fix);
print_gpx_footer();
(void)gps_close(&gpsdata);