Fix a harmless compiler warning in the "fuzzcheck" test program.

FossilOrigin-Name: 8c432642572c8c4b7251f413def0725b3b8e9e7fe10230aa0aabe86b58e5902d
This commit is contained in:
drh
2021-07-07 19:44:32 +00:00
parent 7098859031
commit 9d41caf361
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1785,7 +1785,7 @@ int main(int argc, char **argv){
while( rc==0 && fgets(zLine,sizeof(zLine),stdin)!=0 ){
size_t kk = strlen(zLine);
while( kk>0 && zLine[kk-1]<=' ' ) kk--;
sqlite3_bind_text(pStmt, 1, zLine, kk, SQLITE_STATIC);
sqlite3_bind_text(pStmt, 1, zLine, (int)kk, SQLITE_STATIC);
if( verboseFlag ) printf("loading %.*s\n", (int)kk, zLine);
sqlite3_step(pStmt);
rc = sqlite3_reset(pStmt);