diff options
Diffstat (limited to 'source/fitz/compressed-buffer.c')
-rw-r--r-- | source/fitz/compressed-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/compressed-buffer.c b/source/fitz/compressed-buffer.c index db1225e4..e2ced271 100644 --- a/source/fitz/compressed-buffer.c +++ b/source/fitz/compressed-buffer.c @@ -73,10 +73,10 @@ fz_open_compressed_buffer(fz_context *ctx, fz_compressed_buffer *buffer) return fz_open_image_decomp_stream_from_buffer(ctx, buffer, &l2factor); } -unsigned int +size_t fz_compressed_buffer_size(fz_compressed_buffer *buffer) { if (!buffer || !buffer->buffer) return 0; - return (unsigned int)buffer->buffer->cap; + return (size_t)buffer->buffer->cap; } |