1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Use size_t for strlen results

This commit is contained in:
Andreas Schwab
2011-07-20 11:40:37 -04:00
committed by Ulrich Drepper
parent 5551a7b6aa
commit 28b59fca7a
2 changed files with 6 additions and 1 deletions

View File

@ -543,7 +543,7 @@ __libc_res_nquerydomain(res_state statp,
{
char nbuf[MAXDNAME];
const char *longname = nbuf;
int n, d;
size_t n, d;
#ifdef DEBUG
if (statp->options & RES_DEBUG)