fix: fix wformat warnings

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-03-28 22:39:30 +08:00
parent 91684e0677
commit 9a26c50900
25 changed files with 63 additions and 63 deletions

View File

@@ -482,7 +482,7 @@ int usbh_enumerate(struct usbh_hubport *hport)
if (wTotalLength > CONFIG_USBHOST_REQUEST_BUFFER_LEN) {
ret = -USB_ERR_NOMEM;
USB_LOG_ERR("wTotalLength %d is overflow, default is %d\r\n", wTotalLength, CONFIG_USBHOST_REQUEST_BUFFER_LEN);
USB_LOG_ERR("wTotalLength %d is overflow, default is %d\r\n", wTotalLength, (unsigned int)CONFIG_USBHOST_REQUEST_BUFFER_LEN);
goto errout;
}