named-data-iot / ndn-riot

NDN stack module for RIOT-OS
8 stars 8 forks source link

fix type cast and printf format for RIOT CI #12

Closed astralien3000 closed 6 years ago

astralien3000 commented 6 years ago

Some compilers have more error messages than others. Basically :

I also modified ndn_netif::mtu to int to avoid errors with signed and unsigned comparison.

astralien3000 commented 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.

cawka commented 6 years ago

Oops.. noticed your comment too late... I can either revert or you can submit another PR (let me know which one you prefer)

astralien3000 commented 6 years ago

I should have paid more attention... I will do an other PR.