about summary refs log tree commit diff
path: root/scripts/gen-posix-conf-vars.awk
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 /scripts/gen-posix-conf-vars.awk
parent50cbbaa935e92dc570fc899a17669cd6782b09cd (diff)
downloadglibc-7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175.tar.gz
glibc-7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175.tar.xz
glibc-7910c2ae7391f3e6e1c6fed1c9a9b1f7492ec175.zip
Make type for spec variable size as size_t
Diffstat (limited to 'scripts/gen-posix-conf-vars.awk')
-rw-r--r--scripts/gen-posix-conf-vars.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-posix-conf-vars.awk b/scripts/gen-posix-conf-vars.awk
index 0eca55d536..007cd744de 100644
--- a/scripts/gen-posix-conf-vars.awk
+++ b/scripts/gen-posix-conf-vars.awk
@@ -84,6 +84,6 @@ END {
     printf "    { \"%s\", %s },\n", s, spec[s]
   }
   print "  };"
-  print "static const int nspecs = sizeof (specs) / sizeof (specs[0]);"
+  print "static const size_t nspecs = sizeof (specs) / sizeof (specs[0]);"
   print "#endif"
 }