From 983165935171abbe422860e62351fda9699086e6 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 26 Nov 2018 15:12:46 -0800 Subject: gpsrinex: Fix a signed/unsigned complaint on 32-bit. --- gpsrinex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsrinex.c b/gpsrinex.c index 8955a056..6de3f68f 100644 --- a/gpsrinex.c +++ b/gpsrinex.c @@ -570,7 +570,8 @@ static void print_raw(struct gps_data_t *gpsdata) int nsat = 0; int i; - if ((last_mtime.tv_sec + sample_interval) > gpsdata->raw.mtime.tv_sec) { + if ((last_mtime.tv_sec + (time_t)sample_interval) > + gpsdata->raw.mtime.tv_sec) { /* not time yet */ return; } -- cgit v1.2.1