opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit 60a2fcc332e2fb69e2c76a2eb9541c0947ca3ca3
parent 968c988e3b4f89dae7b7ec62f9cdd718041d87a3
Author: Nathan Holstein <nathan.holstein@gmail.com>
Date:   Wed,  5 Aug 2015 10:58:19 -0400

Switch an unsigned for a size_t.

Diffstat:
parse.y | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parse.y b/parse.y @@ -308,7 +308,7 @@ eow: goto repeat; } if (!nonkw) { - unsigned i; + size_t i; for (i = 0; i < sizeof(keywords) / sizeof(keywords[0]); i++) { if (strcmp(buf, keywords[i].word) == 0) return keywords[i].token;