From c1b11a1e35bb537fbacb287108f2ff1ee575c1d3 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 16 Nov 2020 17:34:28 +0900 Subject: [PATCH] testing/sensortest/sensortest.c: Fix a printf format warning --- testing/sensortest/sensortest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/sensortest/sensortest.c b/testing/sensortest/sensortest.c index d895a224baf..cca82a6fe8c 100644 --- a/testing/sensortest/sensortest.c +++ b/testing/sensortest/sensortest.c @@ -126,7 +126,7 @@ static void print_valf(const char *buffer, const char *name) static void print_valf2(const char *buffer, const char *name) { struct sensor_event_baro *event = (struct sensor_event_baro *)buffer; - printf("%s: timestamp:%llu value1:%.2f value2:%.2f\n", + printf("%s: timestamp:%" PRIu64 " value1:%.2f value2:%.2f\n", name, event->timestamp, event->pressure, event->temperature); }