bsdiff-portable

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

commit e3951bb17974ff92e4a4c9841294e689e2f5c3c0
parent 40729c263bcc5354ce08769e35662e3eb5b96d2b
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Wed, 23 Sep 2020 20:10:11 +1000

rename some u_char stragglers

Diffstat:
Mbspatch.c | 4++--
Mutil.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bspatch.c b/bspatch.c @@ -50,8 +50,8 @@ main(int argc, char **argv) int fd; ssize_t oldsize, newsize; ssize_t bzctrllen, bzdatalen; - u_char header[32], buf[8]; - u_char *old, *new; + uint8_t header[32], buf[8]; + uint8_t *old, *new; off_t oldpos, newpos; off_t ctrl[3]; off_t lenread; diff --git a/util.c b/util.c @@ -220,7 +220,7 @@ offtout(off_t x, uint8_t *buf) } off_t -offtin(u_char *buf) +offtin(uint8_t *buf) { off_t y;