From a18aebc2c6d3cee8dfc33e08b2d3d05836fc9afc Mon Sep 17 00:00:00 2001 From: wangchen Date: Wed, 27 Dec 2023 11:08:10 +0800 Subject: [PATCH] wifi_sim.c:fix compile warning Signed-off-by: wangchen --- drivers/net/wifi_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wifi_sim.c b/drivers/net/wifi_sim.c index baadc2da864ce..752eebb8cdf93 100644 --- a/drivers/net/wifi_sim.c +++ b/drivers/net/wifi_sim.c @@ -1029,7 +1029,7 @@ static int wifidriver_get_sensitivity(FAR struct wifi_sim_s *wifidev, pwrq->u.sens.value = -wifidev->connected_ap->RSSI; } - ninfo("get rssi is %d\n", pwrq->u.sens.value); + ninfo("get rssi is %" PRId32 "\n", pwrq->u.sens.value); } break;