diff options
author | mistachkin <mistachkin@noemail.net> | 2019-03-20 05:45:03 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2019-03-20 05:45:03 +0000 |
commit | 065f3bf4f2b3dbef086a32a520e4f15e47c164e4 (patch) | |
tree | 53eb717905792bf8900fea0671616fbc9ace3803 /ext/misc/closure.c | |
parent | d0f820a7e61a22197d9fed275973c3e425aa7927 (diff) | |
download | sqlite-065f3bf4f2b3dbef086a32a520e4f15e47c164e4.tar.gz sqlite-065f3bf4f2b3dbef086a32a520e4f15e47c164e4.zip |
Fix various harmless compiler warnings seen with MSVC.
FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
Diffstat (limited to 'ext/misc/closure.c')
-rw-r--r-- | ext/misc/closure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/closure.c b/ext/misc/closure.c index 2f83198a7..db9b2b739 100644 --- a/ext/misc/closure.c +++ b/ext/misc/closure.c @@ -431,7 +431,7 @@ static char *closureDequote(const char *zIn){ char q = zIn[0]; /* Quote character (if any ) */ if( q!='[' && q!= '\'' && q!='"' && q!='`' ){ - memcpy(zOut, zIn, nIn+1); + memcpy(zOut, zIn, (size_t)(nIn+1)); }else{ int iOut = 0; /* Index of next byte to write to output */ int iIn; /* Index of next byte to read from input */ |