cleanups in stralloc and buffer:
int -> long for sizes
char -> unsigned char for strings
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "buffer.h"
|
||||
|
||||
void buffer_init(buffer* b,int (*op)(),int fd,char* y,unsigned int ylen) {
|
||||
void buffer_init(buffer* b,int (*op)(),int fd,
|
||||
unsigned char* y,unsigned long int ylen) {
|
||||
b->op=op;
|
||||
b->fd=fd;
|
||||
b->x=y;
|
||||
|
||||
Reference in New Issue
Block a user