From: Alan Cox Date: Sat, 17 Feb 2018 22:35:43 +0000 (+0000) Subject: inet_aton: use long type otherwise it breaks on 16bit X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4c1eebbb9096f9fe352b23300303c02de09d4464;p=FUZIX.git inet_aton: use long type otherwise it breaks on 16bit --- diff --git a/Library/libs/inet_aton.c b/Library/libs/inet_aton.c index 8d661459..b7ff9dae 100644 --- a/Library/libs/inet_aton.c +++ b/Library/libs/inet_aton.c @@ -72,8 +72,8 @@ int inet_aton(const char *cp, struct in_addr *addr) uint32_t val; int base, n; char c; - unsigned int parts[4]; - unsigned int *pp = parts; + uint32_t parts[4]; + uint32_t *pp = parts; c = *cp; for (;;) {