summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-01 16:05:37 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-01 16:05:37 -0500
commitb33dab691254ea002866fbea649e0a80634157dd (patch)
tree2af41fa1504a07eeba4e72e7332d71e578c7bce4 /libgps_core.c
parent786d419a427e5e0a2a2622d33da001a45506ffd5 (diff)
downloadgpsd-b33dab691254ea002866fbea649e0a80634157dd.tar.gz
Cleanup after the NOISE change. All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 06f0fb47..6abc6063 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -165,8 +165,9 @@ static void libgps_dump_state(struct gps_data_t *collect)
/* no need to dump the entire state, this is a sanity check */
#ifndef USE_QT
- (void)fprintf(debugfp, "flags: (0x%04llx) %s\n",
- collect->set, gps_maskdump(collect->set));
+ /* will fail on a 32-bit macine */
+ (void)fprintf(debugfp, "flags: (0x%04x) %s\n",
+ (unsigned int)collect->set, gps_maskdump(collect->set));
#endif
if (collect->set & ONLINE_SET)
(void)fprintf(debugfp, "ONLINE: %lf\n", collect->online);