aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Holstein <nathan.holstein@gmail.com>2015-08-05 10:58:19 -0400
committerNathan Holstein <nathan.holstein@gmail.com>2015-08-05 10:58:19 -0400
commit60a2fcc332e2fb69e2c76a2eb9541c0947ca3ca3 (patch)
tree20333609d707778adedd1f5ca15392006ee4a57b
parent968c988e3b4f89dae7b7ec62f9cdd718041d87a3 (diff)
downloadopendoas-60a2fcc332e2fb69e2c76a2eb9541c0947ca3ca3.tar.gz
Switch an unsigned for a size_t.
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index ef5a3ef..0307b0f 100644
--- 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;