diff options
author | Gary E. Miller <gem@rellim.com> | 2018-11-26 23:21:56 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-11-26 23:21:56 +0000 |
commit | 513cab610322755a45143eac42eb53ceb08fca2d (patch) | |
tree | 2420cdc4bb2805130dc0b248bbc64be70ae87457 /gpsrinex.c | |
parent | 983165935171abbe422860e62351fda9699086e6 (diff) | |
download | gpsd-513cab610322755a45143eac42eb53ceb08fca2d.tar.gz |
gpsrines: Another take at 32/64-bit compatibility
Diffstat (limited to 'gpsrinex.c')
-rw-r--r-- | gpsrinex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -752,8 +752,9 @@ static void quit_handler(int signum) static void conditionally_log_fix(struct gps_data_t *gpsdata) { if ( 4 < debug) { + /* The (long long unsigned) is for 32/64-bit compatibility */ (void)fprintf(tmp_file,"mode %d set %llx\n", gpsdata->fix.mode, - gpsdata->set); + (long long unsigned)gpsdata->set); } /* mostly we don't care if 2D or 3D fix, let the post processor |