0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-19 11:55:21 +00:00

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-12-20 13:01:15 +01:00
parent 17450df314
commit 4df42f1a55

View File

@ -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