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
@ -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…
Reference in New Issue
Block a user