diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 10:53:09 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 10:53:09 +0200 |
commit | 5367faefd2490e09abed41f655c3db55d36752ad (patch) | |
tree | 1f9ed54dde8d31d72442bd1f2459156fafb071cc /lib/sqfs/io.c | |
parent | c17de5d4c2699c6c5b4759f009ce8cb6560d2f13 (diff) |
Cleanup: mark arguments const where possible
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/io.c')
-rw-r--r-- | lib/sqfs/io.c | 4 |
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; } |