3 @@ -101,7 +101,7 @@ static void split(off_t *I,off_t *V,off_
4 if(start+len>kk) split(I,V,kk,start+len-kk,h);
7 -static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize)
8 +static void qsufsort(off_t *I,off_t *V,unsigned char *old,off_t oldsize)
12 @@ -139,7 +139,7 @@ static void qsufsort(off_t *I,off_t *V,u
13 for(i=0;i<oldsize+1;i++) I[V[i]]=i;
16 -static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize)
17 +static off_t matchlen(unsigned char *old,off_t oldsize,unsigned char *new,off_t newsize)
21 @@ -149,8 +149,8 @@ static off_t matchlen(u_char *old,off_t
25 -static off_t search(off_t *I,u_char *old,off_t oldsize,
26 - u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
27 +static off_t search(off_t *I,unsigned char *old,off_t oldsize,
28 + unsigned char *new,off_t newsize,off_t st,off_t en,off_t *pos)
32 @@ -175,7 +175,7 @@ static off_t search(off_t *I,u_char *old
36 -static void offtout(off_t x,u_char *buf)
37 +static void offtout(off_t x,unsigned char *buf)
41 @@ -196,7 +196,7 @@ static void offtout(off_t x,u_char *buf)
42 int main(int argc,char *argv[])
46 + unsigned char *old,*new;
47 off_t oldsize,newsize;
50 @@ -206,9 +206,9 @@ int main(int argc,char *argv[])
51 off_t overlap,Ss,lens;
57 + unsigned char *db,*eb;
58 + unsigned char buf[8];
59 + unsigned char header[32];
65 @@ -36,7 +36,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
69 -static off_t offtin(u_char *buf)
70 +static off_t offtin(unsigned char *buf)
74 @@ -62,8 +62,8 @@ int main(int argc,char * argv[])
76 ssize_t oldsize,newsize;
77 ssize_t bzctrllen,bzdatalen;
78 - u_char header[32],buf[8];
80 + unsigned char header[32],buf[8];
81 + unsigned char *old, *new;