aboutsummaryrefslogtreecommitdiff
path: root/tool/sqldiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r--tool/sqldiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/sqldiff.c b/tool/sqldiff.c
index 56ff53ee2..ae01cd3c4 100644
--- a/tool/sqldiff.c
+++ b/tool/sqldiff.c
@@ -994,7 +994,7 @@ static int rbuDeltaCreate(
zDelta += lenOut;
putInt(checksum(zOut, lenOut), &zDelta);
*(zDelta++) = ';';
- return zDelta - zOrigDelta;
+ return (int)(zDelta - zOrigDelta);
}
/* Compute the hash table used to locate matching sections in the
@@ -1141,7 +1141,7 @@ static int rbuDeltaCreate(
putInt(checksum(zOut, lenOut), &zDelta);
*(zDelta++) = ';';
sqlite3_free(collide);
- return zDelta - zOrigDelta;
+ return (int)(zDelta - zOrigDelta);
}
/*