Commit 4df42f1a authored by Ondřej Zajíček's avatar Ondřej Zajíček

Lib: Force output type in ip4_addr constructor

Fixes type issue when u64 is pushed into it.
parent 17450df3
......@@ -67,7 +67,7 @@ typedef struct ip4_addr {
typedef u32 ip4_addr;
#define _MI4(x) (x)
#define _MI4(x) ((u32) (x))
#define _I(x) (x)
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment