1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix harmless compiler warnings in sqldiff.c.

FossilOrigin-Name: 74808a79ea3194f6cc00084b9dccc380846a6051
This commit is contained in:
drh
2016-01-14 12:23:16 +00:00
parent b4acd6a8d6
commit 62e63bb9a9
3 changed files with 9 additions and 9 deletions

View File

@ -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);
}
/*