summaryrefslogtreecommitdiff
path: root/xkbscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbscan.c')
-rw-r--r--xkbscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbscan.c b/xkbscan.c
index ff4443e..9334f8a 100644
--- a/xkbscan.c
+++ b/xkbscan.c
@@ -576,7 +576,7 @@ static int numKeywords = sizeof(keywords) / sizeof(struct _Keyword);
static int
yyGetIdent(int first)
{
- int ch, i, j, found;
+ int ch, j, found;
int rtrn = IDENT;
scanBuf[0] = first;
@@ -589,7 +589,7 @@ yyGetIdent(int first)
scanBuf[j++] = '\0';
found = 0;
- for (i = 0; (!found) && (i < numKeywords); i++)
+ for (int i = 0; (!found) && (i < numKeywords); i++)
{
if (uStrCaseCmp(scanBuf, keywords[i].keyword) == 0)
{