X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Finit.c;h=b4ab130aee67a2f5482c0519df53552c9e0646c0;hp=9ce9b1662a8414601425fa65b4fca94b758387bd;hb=7b5fb50cb1ce30fd0ddc3e77e376613a861c10aa;hpb=7c802e58d3e45e3a21d99c8d24dc5be806ecf174 diff --git a/src/init.c b/src/init.c index 9ce9b166..b4ab130a 100644 --- a/src/init.c +++ b/src/init.c @@ -224,7 +224,7 @@ static struct { static int comind (const char *com) { - int lo = 0, hi = ARRAY_SIZE (commands) - 1; + int lo = 0, hi = countof (commands) - 1; while (lo <= hi) {