load: Change buffer_pos to be a size_t

buffer_pos should be type size_t, because it's used to store the
current position in the read buffer. Also, it never can be negative.
This commit is contained in:
Janne Kulmala 2012-04-17 11:05:12 +03:00 committed by Petri Lehtinen
parent bd72efbd80
commit aabfd493d3

View file

@ -48,7 +48,7 @@ typedef struct {
get_func get;
void *data;
char buffer[5];
int buffer_pos;
size_t buffer_pos;
int state;
int line;
int column, last_column;