about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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"
 }