mirror of
https://github.com/akheron/jansson.git
synced 2025-04-07 14:29:20 +00:00
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:
parent
bd72efbd80
commit
aabfd493d3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue