mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-04-20 05:54:36 +00:00
Lib: Force output type in ip4_addr constructor
Fixes type issue when u64 is pushed into it.
This commit is contained in:
parent
83715aa829
commit
df50598f1c
2
lib/ip.h
2
lib/ip.h
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user