diff options
author | Gary E. Miller <gem@rellim.com> | 2018-11-26 15:12:46 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-11-26 15:12:46 -0800 |
commit | 983165935171abbe422860e62351fda9699086e6 (patch) | |
tree | 8557ffaa6f086b147ff8fbef512aa45fda76d57f /gpsrinex.c | |
parent | eb86dab91af39340c086da4ff76ad129819aff48 (diff) | |
download | gpsd-983165935171abbe422860e62351fda9699086e6.tar.gz |
gpsrinex: Fix a signed/unsigned complaint on 32-bit.
Diffstat (limited to 'gpsrinex.c')
-rw-r--r-- | gpsrinex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |