summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-29 17:43:19 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-12-29 19:56:52 +0530
commit7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175 (patch)
treefb167841bf2ce8d9ef68bf15d2fdf8d8b65c9ab1 /posix
parent50cbbaa935e92dc570fc899a17669cd6782b09cd (diff)
Make type for spec variable size as size_t
Diffstat (limited to 'posix')
-rw-r--r--posix/getconf.c2
1 files changed, 1 insertions, 1 deletions
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;