xiaoxiang781216 commented on code in PR #13216:
URL: https://github.com/apache/nuttx/pull/13216#discussion_r1735029658
##########
include/nuttx/usb/usbdev.h:
##########
@@ -253,8 +253,8 @@ struct usbdev_req_s
{
FAR uint8_t *buf; /* Call: Buffer used for data; Return: Unchanged */
uint8_t flags; /* See USBDEV_REQFLAGS_* definitions */
- uint16_t len; /* Call: Total length of data in buf; Return: Unchanged */
- uint16_t xfrd; /* Call: zero; Return: Bytes transferred so far */
+ uint32_t len; /* Call: Total length of data in buf; Return: Unchanged */
+ uint32_t xfrd; /* Call: zero; Return: Bytes transferred so far */
Review Comment:
change to size_t and %zd
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]