From 62e63bb9a93732b7a47eba95d90707c3d10cac31 Mon Sep 17 00:00:00 2001 From: drh Date: Thu, 14 Jan 2016 12:23:16 +0000 Subject: Fix harmless compiler warnings in sqldiff.c. FossilOrigin-Name: 74808a79ea3194f6cc00084b9dccc380846a6051 --- tool/sqldiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/sqldiff.c') 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); } /* -- cgit v1.2.3