aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-12-05 00:41:17 +0000
committerdrh <drh@noemail.net>2014-12-05 00:41:17 +0000
commitc0d33d20f71d5de1c6891d9b9253ebd0cd07fbb5 (patch)
tree8be57731d27af07f67b82442ac10cb8518fcd5e9 /src
parent34794c3d0cd985100f5fe3f4ff8e6ffa9ffa18da (diff)
parent2c3abeb8c3c01c8f0143557a3bebddf5d5d26405 (diff)
downloadsqlite-c0d33d20f71d5de1c6891d9b9253ebd0cd07fbb5.tar.gz
sqlite-c0d33d20f71d5de1c6891d9b9253ebd0cd07fbb5.zip
Import from trunk the fix the "test" target on the autoconf and MSVC makefiles
and some minor compiler warning fixes. FossilOrigin-Name: c9f20eb2fbba0868df85ebb98877f9bb969be8a4
Diffstat (limited to 'src')
-rw-r--r--src/test1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test1.c b/src/test1.c
index be4ad92c1..7839b3049 100644
--- a/src/test1.c
+++ b/src/test1.c
@@ -3661,7 +3661,7 @@ static int test_prepare_v2(
zCopy = malloc(bytes);
memcpy(zCopy, zSql, bytes);
}else{
- int n = strlen(zSql) + 1;
+ int n = (int)strlen(zSql) + 1;
zCopy = malloc(n);
memcpy(zCopy, zSql, n);
}