bsdiff-portable

A more portable version of Colin Percival's bsdiff
git clone git://git.sgregoratto.me/bsdiff-portable
Log | Files | Refs | LICENSE

commit de5f7871408d58f48776802dfb9aac0de69052ad
parent e6c2c6a9cc5a3d2dc6e02dfca9be63f9378c05f5
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Wed, 23 Sep 2020 21:46:40 +1000

bspatch: ssize_t to off_t

Diffstat:
Mbspatch.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bspatch.c b/bspatch.c @@ -51,8 +51,8 @@ main(int argc, char **argv) BZFILE *cpfbz2, *dpfbz2, *epfbz2; int cbz2err, dbz2err, ebz2err; int fd; - ssize_t oldsize, newsize; - ssize_t bzctrllen, bzdatalen; + off_t oldsize, newsize; + off_t bzctrllen, bzdatalen; uint8_t header[32], buf[8]; uint8_t *old, *new; off_t oldpos, newpos;