summaryrefslogtreecommitdiff
path: root/gpsrinex.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-26 23:21:56 +0000
committerGary E. Miller <gem@rellim.com>2018-11-26 23:21:56 +0000
commit513cab610322755a45143eac42eb53ceb08fca2d (patch)
tree2420cdc4bb2805130dc0b248bbc64be70ae87457 /gpsrinex.c
parent983165935171abbe422860e62351fda9699086e6 (diff)
downloadgpsd-513cab610322755a45143eac42eb53ceb08fca2d.tar.gz
gpsrines: Another take at 32/64-bit compatibility
Diffstat (limited to 'gpsrinex.c')
-rw-r--r--gpsrinex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsrinex.c b/gpsrinex.c
index 6de3f68f..8bb40e9d 100644
--- a/gpsrinex.c
+++ b/gpsrinex.c
@@ -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