Commit db9628e8 authored by David Lawrence's avatar David Lawrence

changed "c" stack variable from char to unsigned char to quiet Solaris 5.8

warnings that "subscript has type char".
parent 5d83b561
......@@ -70,12 +70,13 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93";
static char rcsid[] = "$Id: inet_aton.c,v 1.9 2000/05/09 22:22:18 tale Exp $";
static char rcsid[] = "$Id: inet_aton.c,v 1.10 2000/05/25 01:08:06 tale Exp $";
#endif /* LIBC_SCCS and not lint */
#include <config.h>
#include <ctype.h>
#include <stddef.h> /* Required for NULL. */
#include <isc/types.h>
#include <isc/net.h>
......@@ -91,7 +92,7 @@ int
isc_net_aton(const char *cp, struct in_addr *addr) {
unsigned long val;
int base, n;
char c;
unsigned char c;
isc_uint8_t parts[4];
isc_uint8_t *pp = parts;
int digit;
......
......@@ -70,7 +70,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93";
static char rcsid[] = "$Id: lwinetaton.c,v 1.3 2000/05/09 22:22:24 tale Exp $";
static char rcsid[] = "$Id: lwinetaton.c,v 1.4 2000/05/25 01:08:07 tale Exp $";
#endif /* LIBC_SCCS and not lint */
#include <config.h>
......@@ -93,7 +93,7 @@ int
lwres_net_aton(const char *cp, struct in_addr *addr) {
unsigned long val;
int base, n;
char c;
unsigned char c;
lwres_uint8_t parts[4];
lwres_uint8_t *pp = parts;
int digit;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment