1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix the MSVC makefile so that it works with OTA. Fix a harmless compiler

warning in FTS3.

FossilOrigin-Name: c7b16645307d6e46c4153693d6806269de64955f
This commit is contained in:
drh
2015-05-19 22:56:45 +00:00
parent 856d446efe
commit 7ac07bda73
4 changed files with 14 additions and 11 deletions

View File

@ -131,7 +131,7 @@ struct StrBuffer {
static MatchinfoBuffer *fts3MIBufferNew(int nElem, const char *zMatchinfo){
MatchinfoBuffer *pRet;
int nByte = sizeof(u32) * (2*nElem + 2) + sizeof(MatchinfoBuffer);
int nStr = strlen(zMatchinfo);
int nStr = (int)strlen(zMatchinfo);
pRet = sqlite3_malloc(nByte + nStr+1);
if( pRet ){