diff options
author | drh <drh@noemail.net> | 2016-01-14 12:23:16 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-01-14 12:23:16 +0000 |
commit | 62e63bb9a93732b7a47eba95d90707c3d10cac31 (patch) | |
tree | 8bdc89fdfea5c9acda0d75b58bb116f234aabf4a /tool/sqldiff.c | |
parent | b4acd6a8d64dfb0f768b39c08fb37b3c03b27156 (diff) | |
download | sqlite-62e63bb9a93732b7a47eba95d90707c3d10cac31.tar.gz sqlite-62e63bb9a93732b7a47eba95d90707c3d10cac31.zip |
Fix harmless compiler warnings in sqldiff.c.
FossilOrigin-Name: 74808a79ea3194f6cc00084b9dccc380846a6051
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r-- | tool/sqldiff.c | 4 |
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); } /* |