summaryrefslogtreecommitdiff
path: root/lib/libsqlite3/tool/mkkeywordhash.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-05-22 09:02:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-05-22 09:02:53 +0000
commit45816cf5d6cf24c8456df017d0a34a8cc22f3d2d (patch)
treedb083cb0f77a00c3610b569f7258f564bf8f9695 /lib/libsqlite3/tool/mkkeywordhash.c
parentb15dbd3eb0380f89ab5b2fce55432ff4e993a48c (diff)
import sqlite 3.7.12 (tested by landry@)
Diffstat (limited to 'lib/libsqlite3/tool/mkkeywordhash.c')
-rw-r--r--lib/libsqlite3/tool/mkkeywordhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsqlite3/tool/mkkeywordhash.c b/lib/libsqlite3/tool/mkkeywordhash.c
index 509aeef9ea0..4e5ba8f1a8d 100644
--- a/lib/libsqlite3/tool/mkkeywordhash.c
+++ b/lib/libsqlite3/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;