summaryrefslogtreecommitdiff
path: root/tool/mkkeywordhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/mkkeywordhash.c')
-rw-r--r--tool/mkkeywordhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkkeywordhash.c b/tool/mkkeywordhash.c
index 509aeef..4e5ba8f 100644
--- a/tool/mkkeywordhash.c
+++ b/tool/mkkeywordhash.c
@@ -360,7 +360,7 @@ int main(int argc, char **argv){
/* Fill in the lengths of strings and hashes for all entries. */
for(i=0; i<nKeyword; i++){
Keyword *p = &aKeywordTable[i];
- p->len = strlen(p->zName);
+ p->len = (int)strlen(p->zName);
assert( p->len<sizeof(p->zOrigName) );
strcpy(p->zOrigName, p->zName);
totalLen += p->len;