diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-20 13:01:15 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-20 13:01:15 +0100 |
commit | 4df42f1a55b39bd4f7657e3b22c3a09a77f25a45 (patch) | |
tree | e342a696a61a9a4083378062c2e3fbb4276d610d /lib/ip.h | |
parent | 17450df314ff472deff535104a6824c322e5aa7f (diff) |
Lib: Force output type in ip4_addr constructor
Fixes type issue when u64 is pushed into it.
Diffstat (limited to 'lib/ip.h')
-rw-r--r-- | lib/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |