mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-09 07:54:38 +08:00
Fixed the variable types in inet_ntoa() to comply with API change.
This commit is contained in:
parent
a74a801f35
commit
a552a9993e
@ -302,11 +302,11 @@ inet_chksum_pbuf(struct pbuf *p)
|
||||
*/
|
||||
char *inet_ntoa(struct in_addr addr)
|
||||
{
|
||||
static u8_t str[16];
|
||||
static char str[16];
|
||||
u32_t s_addr = addr.s_addr;
|
||||
u8_t inv[3];
|
||||
u8_t *rp;
|
||||
u8_t *ap;
|
||||
char inv[3];
|
||||
char *rp;
|
||||
char *ap;
|
||||
u8_t rem;
|
||||
u8_t n;
|
||||
u8_t i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user