0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +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-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