mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
iob_trimhead: fix an integer truncation
I guess this fixes https://github.com/apache/incubator-nuttx/issues/4181
This commit is contained in:
parent
609ee6b54b
commit
7a580ae3bc
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@
|
|||
FAR struct iob_s *iob_trimhead(FAR struct iob_s *iob, unsigned int trimlen,
|
||||
enum iob_user_e producerid)
|
||||
{
|
||||
uint16_t pktlen;
|
||||
unsigned int pktlen;
|
||||
|
||||
iobinfo("iob=%p trimlen=%d\n", iob, trimlen);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue