diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-25 12:39:13 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-25 12:39:13 +0200 |
commit | df50598f1c285a5e2820b7427998c6ebf86bbbec (patch) | |
tree | 151f75f403b8af164d5b49107af4adcab6fa5dda /lib | |
parent | 83715aa82966020100afa35f15d1ca56cadf6d10 (diff) |
Lib: Force output type in ip4_addr constructor
Fixes type issue when u64 is pushed into it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |