aboutsummaryrefslogtreecommitdiff
path: root/src/pj_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_init.c')
-rw-r--r--src/pj_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_init.c b/src/pj_init.c
index a7de2df4..cae53003 100644
--- a/src/pj_init.c
+++ b/src/pj_init.c
@@ -54,7 +54,7 @@ typedef struct {
static const char *fill_buffer(pj_read_state *state, const char *last_char)
{
size_t bytes_read;
- int char_remaining, char_requested;
+ size_t char_remaining, char_requested;
/* -------------------------------------------------------------------- */
/* Don't bother trying to read more if we are at eof, or if the */