cleanups in stralloc and buffer:

int -> long for sizes
    char -> unsigned char for strings
This commit is contained in:
leitner
2004-11-25 21:29:35 +00:00
parent 38ef27207a
commit 5eb1cdf888
75 changed files with 188 additions and 132 deletions

View File

@@ -2,8 +2,8 @@
#include "byte.h"
#include "str.h"
extern int stralloc_diffs(const stralloc* a,const char* b) {
register unsigned int i;
extern int stralloc_diffs(const stralloc* a,const unsigned char* b) {
register unsigned long int i;
register int j;
for (i=0;;++i) {
if (i==a->len) return (!b[i])?0:-1; if (!b[i]) return 1;