mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Use size_t for strlen results
This commit is contained in:
parent
5551a7b6aa
commit
28b59fca7a
@ -1,3 +1,8 @@
|
|||||||
|
2011-07-20 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
|
* resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
|
||||||
|
strlen results.
|
||||||
|
|
||||||
2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
|
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
|
||||||
|
@ -543,7 +543,7 @@ __libc_res_nquerydomain(res_state statp,
|
|||||||
{
|
{
|
||||||
char nbuf[MAXDNAME];
|
char nbuf[MAXDNAME];
|
||||||
const char *longname = nbuf;
|
const char *longname = nbuf;
|
||||||
int n, d;
|
size_t n, d;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (statp->options & RES_DEBUG)
|
if (statp->options & RES_DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user