win32: fix 2 compiler warning nits in win32 port

Reported-by: Gisle Vanem <gisle.vanem@gmail.com>
This commit is contained in:
Simon Goldschmidt
2020-02-10 21:55:32 +01:00
parent cc6d5b7a29
commit 5e52d1a4b1
2 changed files with 5 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ void lwip_win32_platform_diag(const char *format, ...);
#endif
extern unsigned int lwip_port_rand(void);
#define LWIP_RAND() (lwip_port_rand())
#define LWIP_RAND() ((uint32_t)lwip_port_rand())
#define PPP_INCLUDE_SETTINGS_HEADER