diff --git a/drivers/sensors/wtgahrs2.c b/drivers/sensors/wtgahrs2.c index 8d726efdd3..81ea70f0bb 100644 --- a/drivers/sensors/wtgahrs2.c +++ b/drivers/sensors/wtgahrs2.c @@ -329,7 +329,7 @@ static void wtgahrs2_gps_data(FAR struct wtgahrs2_dev_s *rtdata, { rtdata->gps_mask = 0; lower->push_event(lower->priv, &rtdata->gps, sizeof(rtdata->gps)); - sninfo("Time : %llu utc_time: %llu\n", + sninfo("Time : %" PRIu64 " utc_time: %" PRIu64 "\n", rtdata->gps.timestamp, rtdata->gps.time_utc); sninfo("GPS longitude : %fdegree, latitude:%fdegree\n", rtdata->gps.longitude, rtdata->gps.latitude);