Lib: Force output type in ip4_addr constructor

Fixes type issue when u64 is pushed into it.
This commit is contained in:
Ondrej Zajicek (work) 2018-10-25 12:39:13 +02:00
parent 83715aa829
commit df50598f1c

View file

@ -61,7 +61,7 @@ typedef struct ip4_addr {
typedef u32 ip4_addr;
#define _MI4(x) (x)
#define _MI4(x) ((u32) (x))
#define _I(x) (x)
#endif