1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix various harmless compiler warnings seen with MSVC.

FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
This commit is contained in:
mistachkin
2019-03-20 05:45:03 +00:00
parent d0f820a7e6
commit 065f3bf4f2
20 changed files with 61 additions and 57 deletions

View File

@ -158,7 +158,7 @@ static void readFileContents(sqlite3_context *ctx, const char *zName){
fclose(in);
return;
}
if( nIn==fread(pBuf, 1, nIn, in) ){
if( nIn==fread(pBuf, 1, (size_t)nIn, in) ){
sqlite3_result_blob64(ctx, pBuf, nIn, sqlite3_free);
}else{
sqlite3_result_error_code(ctx, SQLITE_IOERR);