aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2024-07-31 17:15:24 +0000
committerdrh <>2024-07-31 17:15:24 +0000
commit15fef79a2989421215d8cea11a4501992c4a8770 (patch)
tree286ba0495282bb0fd165acdc7c6f3be34979130e /src
parentff79000f28f4d98cf6a7867bcb264f39f0af3883 (diff)
downloadsqlite-15fef79a2989421215d8cea11a4501992c4a8770.tar.gz
sqlite-15fef79a2989421215d8cea11a4501992c4a8770.zip
Fixes to testfixture routines needed to test snapshots.
FossilOrigin-Name: 66f61c3b35383b2575774d309043a722cc87a53d03518d339d6dbdcf342adc93
Diffstat (limited to 'src')
-rw-r--r--src/test1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test1.c b/src/test1.c
index 861048a9a..a246baafa 100644
--- a/src/test1.c
+++ b/src/test1.c
@@ -2762,7 +2762,7 @@ static int SQLITE_TCLAPI test_snapshot_open_blob(
sqlite3 *db;
char *zName;
unsigned char *pBlob;
- int nBlob;
+ Tcl_Size nBlob;
if( objc!=4 ){
Tcl_WrongNumArgs(interp, 1, objv, "DB DBNAME SNAPSHOT");
@@ -2797,8 +2797,8 @@ static int SQLITE_TCLAPI test_snapshot_cmp_blob(
int res;
unsigned char *p1;
unsigned char *p2;
- int n1;
- int n2;
+ Tcl_Size n1;
+ Tcl_Size n2;
if( objc!=3 ){
Tcl_WrongNumArgs(interp, 1, objv, "SNAPSHOT1 SNAPSHOT2");