about summary refs log tree commit diff
path: root/resolv/res_query.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-07-20 11:40:37 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-20 11:40:37 -0400
commit28b59fca7ae3cfc2d57e0007aaa3793d4b775e97 (patch)
treebe1fce76d18dac6a9b1181487e2387dd67ed8da2 /resolv/res_query.c
parent5551a7b6aa00e6bc2bf6a0daa98a01e7fd725ba9 (diff)
downloadglibc-28b59fca7ae3cfc2d57e0007aaa3793d4b775e97.tar.gz
glibc-28b59fca7ae3cfc2d57e0007aaa3793d4b775e97.tar.xz
glibc-28b59fca7ae3cfc2d57e0007aaa3793d4b775e97.zip
Use size_t for strlen results
Diffstat (limited to 'resolv/res_query.c')
-rw-r--r--resolv/res_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_query.c b/resolv/res_query.c
index 26daf0d87b..2f7cfaa4b7 100644
--- a/resolv/res_query.c
+++ b/resolv/res_query.c
@@ -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)