aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/byte_source.c')
-rw-r--r--src/byte_source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/byte_source.c b/src/byte_source.c
index af73fbfe..588d258e 100644
--- a/src/byte_source.c
+++ b/src/byte_source.c
@@ -20,7 +20,7 @@ static inline SerdStatus
serd_byte_source_page(SerdByteSource* source)
{
source->read_head = 0;
- size_t n_read = source->read_func(
+ const size_t n_read = source->read_func(
source->file_buf, 1, source->page_size, source->stream);
if (n_read == 0) {
source->file_buf[0] = '\0';