diff options
author | drh <drh@noemail.net> | 2013-03-27 20:41:15 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-03-27 20:41:15 +0000 |
commit | 4b11bad35824c3f4f56e3d1560908a43d074443a (patch) | |
tree | cb1c2a62c8354b58164f4dae5f07054109a72fd1 /src/test_regexp.c | |
parent | ab5190a46cbc92b06de6a37becb8d1561d8a3f28 (diff) | |
download | sqlite-4b11bad35824c3f4f56e3d1560908a43d074443a.tar.gz sqlite-4b11bad35824c3f4f56e3d1560908a43d074443a.zip |
Fix harmless compiler warnings coming from MSVC64 in test code. No
changes to the core.
FossilOrigin-Name: 274d2a22660c7b34b8bbd85f3c29cbafbcb1b4e7
Diffstat (limited to 'src/test_regexp.c')
-rw-r--r-- | src/test_regexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_regexp.c b/src/test_regexp.c index a1969ada4..829d22ad2 100644 --- a/src/test_regexp.c +++ b/src/test_regexp.c @@ -188,7 +188,7 @@ int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ in.z = zIn; in.i = 0; - in.mx = nIn>=0 ? nIn : strlen((char const*)zIn); + in.mx = nIn>=0 ? nIn : (int)strlen((char const*)zIn); /* Look for the initial prefix match, if there is one. */ if( pRe->nInit ){ @@ -628,7 +628,7 @@ const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){ } pRe->sIn.z = (unsigned char*)zIn; pRe->sIn.i = 0; - pRe->sIn.mx = strlen(zIn); + pRe->sIn.mx = (int)strlen(zIn); zErr = re_subcompile_re(pRe); if( zErr ){ re_free(pRe); |