summaryrefslogtreecommitdiff
path: root/lib/sqfs/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/io.c')
-rw-r--r--lib/sqfs/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/io.c b/lib/sqfs/io.c
index d0b2558..f8773d0 100644
--- a/lib/sqfs/io.c
+++ b/lib/sqfs/io.c
@@ -87,9 +87,9 @@ static int stdio_write_at(sqfs_file_t *base, uint64_t offset,
return 0;
}
-static uint64_t stdio_get_size(sqfs_file_t *base)
+static uint64_t stdio_get_size(const sqfs_file_t *base)
{
- sqfs_file_stdio_t *file = (sqfs_file_stdio_t *)base;
+ const sqfs_file_stdio_t *file = (const sqfs_file_stdio_t *)base;
return file->size;
}