diff options
author | Matthew Endsley <mendsley@gmail.com> | 2012-05-12 17:25:01 -0700 |
---|---|---|
committer | Matthew Endsley <mendsley@gmail.com> | 2012-05-14 01:04:24 -0700 |
commit | b1387441c84f98909ab7a076d351c11042f0578e (patch) | |
tree | 00ca1951912e2d20e324abb9a1b84e5a97c279c5 | |
parent | 9431405d008753d76d819a999c80e9c80de0424b (diff) | |
download | bsdiff-b1387441c84f98909ab7a076d351c11042f0578e.tar.gz |
switching u_char variables to uint8_t
-rw-r--r-- | bspatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59: #include <unistd.h> #include <fcntl.h> -static int64_t offtin(u_char *buf) +static int64_t offtin(uint8_t *buf) { int64_t y; @@ -63,8 +63,8 @@ int 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; int64_t oldpos,newpos; int64_t ctrl[3]; int64_t lenread; |