diff options
author | David Robillard <d@drobilla.net> | 2011-01-25 05:34:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-25 05:34:52 +0000 |
commit | 835bee085391eb306167066780394a85a9c6642e (patch) | |
tree | 349fb20924b9ea068e10c1bf54ccf3f92e6ca446 /src | |
parent | 799a828b02f201ff5de7fe59c8e66714e0e28d43 (diff) | |
download | serd-835bee085391eb306167066780394a85a9c6642e.tar.gz serd-835bee085391eb306167066780394a85a9c6642e.tar.bz2 serd-835bee085391eb306167066780394a85a9c6642e.zip |
fread returns size_t.
git-svn-id: http://svn.drobilla.net/serd/trunk@62 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index fb41af6b..519164bd 100644 --- a/src/reader.c +++ b/src/reader.c @@ -122,7 +122,7 @@ static inline bool page(SerdReader reader) { reader->read_head = 0; - const int32_t n_read = fread(reader->read_buf, 1, READ_BUF_LEN, reader->fd); + const size_t n_read = fread(reader->read_buf, 1, READ_BUF_LEN, reader->fd); if (n_read == 0) { reader->read_buf[0] = '\0'; reader->eof = true; |