From 7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 29 Dec 2014 17:43:19 +0530 Subject: Make type for spec variable size as size_t --- posix/getconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/getconf.c b/posix/getconf.c index bcde4c58a1..45eabb2a2c 100644 --- a/posix/getconf.c +++ b/posix/getconf.c @@ -528,7 +528,7 @@ environment SPEC.\n\n")); /* Check for the specifications we know. */ if (spec != NULL) { - int i; + size_t i; for (i = 0; i < nspecs; ++i) if (strcmp (spec, specs[i].name) == 0) break; -- cgit 1.4.1