1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix MSVC compiler warnings in test code.

FossilOrigin-Name: cb7a850439c9a4a7887650d6b81d95ab8025de5b
This commit is contained in:
drh
2012-03-30 14:59:43 +00:00
parent ccdf2025b5
commit 7da5fcb0b7
14 changed files with 73 additions and 61 deletions

View File

@@ -1060,7 +1060,7 @@ size_t sqlite3_quota_fwrite(
}
if( szNew>pGroup->iLimit && pGroup->iLimit>0 ){
iEnd = pGroup->iLimit - pGroup->iSize + pFile->iSize;
nmemb = (iEnd - iOfst)/size;
nmemb = (size_t)((iEnd - iOfst)/size);
iEnd = iOfst + size*nmemb;
szNew = pGroup->iSize - pFile->iSize + iEnd;
}