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 --- scripts/gen-posix-conf-vars.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" } -- cgit v1.2.3