@@ -590,7 +590,7 @@ static void string_ascii7_to_utf16le(struct usbd_desc_node *const dn,
590590 ascii7_str = (uint8_t * )dn -> ptr ;
591591 }
592592
593- LOG_DBG ("wLength %u, bLength %u, tailroom %u " ,
593+ LOG_DBG ("wLength %u, bLength %u, tailroom %zu " ,
594594 wLength , head .bLength , net_buf_tailroom (buf ));
595595
596596 len = MIN (net_buf_tailroom (buf ), MIN (head .bLength , wLength ));
@@ -771,8 +771,7 @@ static int sreq_get_desc_bos(struct usbd_context *const uds_ctx,
771771
772772 desc_fill_bos_root (uds_ctx , & bos );
773773 len = MIN (net_buf_tailroom (buf ), MIN (setup -> wLength , bos .wTotalLength ));
774-
775- LOG_DBG ("wLength %u, bLength %u, wTotalLength %u, tailroom %u" ,
774+ LOG_DBG ("wLength %u, bLength %u, wTotalLength %u, tailroom %zu" ,
776775 setup -> wLength , bos .bLength , bos .wTotalLength , net_buf_tailroom (buf ));
777776
778777 net_buf_add_mem (buf , & bos , MIN (len , bos .bLength ));
@@ -784,7 +783,7 @@ static int sreq_get_desc_bos(struct usbd_context *const uds_ctx,
784783
785784 SYS_DLIST_FOR_EACH_CONTAINER (& uds_ctx -> descriptors , desc_nd , node ) {
786785 if (desc_nd -> bDescriptorType == USB_DESC_BOS ) {
787- LOG_DBG ("bLength %u, len %u , tailroom %u " ,
786+ LOG_DBG ("bLength %u, len %zu , tailroom %zu " ,
788787 desc_nd -> bLength , len , net_buf_tailroom (buf ));
789788 net_buf_add_mem (buf , desc_nd -> ptr , MIN (len , desc_nd -> bLength ));
790789
0 commit comments