Closed astralien3000 closed 6 years ago
Outch ! This PR should not be merged now. The mtu address is casted into a pointer to uin16_t, which won't work.
Oops.. noticed your comment too late... I can either revert or you can submit another PR (let me know which one you prefer)
I should have paid more attention... I will do an other PR.
Some compilers have more error messages than others. Basically :
%d
becomes%"PRId32"
when dealing withint32_t
%u
becomes%"PRIu32"
when dealing withuint32_t
%d
becomes%zu
when dealing withsize_t
I also modified
ndn_netif::mtu
toint
to avoid errors with signed and unsigned comparison.