diff --git a/app/src/clock.c b/app/src/clock.c index fe072f01..bb2430fd 100644 --- a/app/src/clock.c +++ b/app/src/clock.c @@ -98,7 +98,7 @@ sc_clock_update(struct sc_clock *clock, sc_tick system, sc_tick stream) { sc_clock_estimate(clock, &clock->slope, &clock->offset); #ifndef SC_CLOCK_NDEBUG - LOGD("Clock estimation: %g * pts + %" PRItick, + LOGD("Clock estimation: %f * pts + %" PRItick, clock->slope, clock->offset); #endif } diff --git a/app/src/control_msg.c b/app/src/control_msg.c index a57d8cc2..3c398016 100644 --- a/app/src/control_msg.c +++ b/app/src/control_msg.c @@ -170,7 +170,7 @@ sc_control_msg_log(const struct sc_control_msg *msg) { if (id == POINTER_ID_MOUSE || id == POINTER_ID_VIRTUAL_FINGER) { // string pointer id LOG_CMSG("touch [id=%s] %-4s position=%" PRIi32 ",%" PRIi32 - " pressure=%g buttons=%06lx", + " pressure=%f buttons=%06lx", id == POINTER_ID_MOUSE ? "mouse" : "vfinger", MOTIONEVENT_ACTION_LABEL(action), msg->inject_touch_event.position.point.x, @@ -180,7 +180,7 @@ sc_control_msg_log(const struct sc_control_msg *msg) { } else { // numeric pointer id LOG_CMSG("touch [id=%" PRIu64_ "] %-4s position=%" PRIi32 ",%" - PRIi32 " pressure=%g buttons=%06lx", + PRIi32 " pressure=%f buttons=%06lx", id, MOTIONEVENT_ACTION_LABEL(action), msg->inject_touch_event.position.point.x,