mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
drivers/can/can.c: Change size_t type printf formatter %d -> %zu
This commit is contained in:
parent
0922121bc0
commit
6ca75deec8
1 changed files with 2 additions and 2 deletions
|
|
@ -506,7 +506,7 @@ static ssize_t can_read(FAR struct file *filep, FAR char *buffer,
|
|||
FAR struct can_dev_s *dev = inode->i_private;
|
||||
#endif
|
||||
|
||||
caninfo("buflen: %d\n", buflen);
|
||||
caninfo("buflen: %zu\n", buflen);
|
||||
|
||||
/* The caller must provide enough memory to catch the smallest possible
|
||||
* message. This is not a system error condition, but we won't permit
|
||||
|
|
@ -743,7 +743,7 @@ static ssize_t can_write(FAR struct file *filep, FAR const char *buffer,
|
|||
int msglen;
|
||||
int ret = 0;
|
||||
|
||||
caninfo("buflen: %d\n", buflen);
|
||||
caninfo("buflen: %zu\n", buflen);
|
||||
|
||||
/* Interrupts must disabled throughout the following */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue