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
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue