From be2fe15648c0e105abb8ce251bedd34b73eca07c Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Fri, 5 Jan 2024 13:15:52 -0800 Subject: [PATCH] fix printf d>ld warning --- src/now.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/now.c b/src/now.c index 36f7e6d..b56d7d7 100644 --- a/src/now.c +++ b/src/now.c @@ -30,7 +30,7 @@ int ifnow_now_send(ifnow_now_cfg_t *now_cfg, uint8_t *buf, uint16_t len) { memcpy(&packet.wlan.sa, buf + 6, 6); memcpy(&packet.wlan.bssid, buf, 6); - printf("NOW: sending %d bytes\n", sizeof(packet)); + printf("NOW: sending %ld bytes\n", sizeof(packet)); for(uint16_t i = 0; i < sizeof(packet); i++) { printf("%02X ", ((uint8_t*)&packet)[i]);