mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
changed "c" stack variable from char to unsigned char to quiet Solaris 5.8
warnings that "subscript has type char".
This commit is contained in:
parent
5d83b561ad
commit
db9628e897
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user