From 5a57f10b9cd4bfbbde97131a0247db07503ca2de Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 4 Dec 2020 22:20:42 +0900 Subject: [PATCH] drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c: Fix a syslog format --- drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c index 4b69c2816c..9dacd7580f 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c @@ -680,8 +680,10 @@ static int bcmf_ifup(FAR struct net_driver_s *dev) #ifdef CONFIG_NET_IPv4 ninfo("Bringing up: %d.%d.%d.%d\n", - dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff, - (dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24); + (int)(dev->d_ipaddr & 0xff), + (int)((dev->d_ipaddr >> 8) & 0xff), + (int)((dev->d_ipaddr >> 16) & 0xff), + (int)(dev->d_ipaddr >> 24)); #endif #ifdef CONFIG_NET_IPv6 ninfo("Bringing up: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",