diff options
Diffstat (limited to 'lib/sqfs/write_inode.c')
-rw-r--r-- | lib/sqfs/write_inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqfs/write_inode.c b/lib/sqfs/write_inode.c index 6e36544..e64e6a6 100644 --- a/lib/sqfs/write_inode.c +++ b/lib/sqfs/write_inode.c @@ -11,7 +11,8 @@ #include "sqfs/error.h" #include "sqfs/inode.h" -static int write_block_sizes(sqfs_meta_writer_t *ir, sqfs_inode_generic_t *n) +static int write_block_sizes(sqfs_meta_writer_t *ir, + const sqfs_inode_generic_t *n) { uint32_t sizes[n->num_file_blocks]; size_t i; @@ -24,7 +25,7 @@ static int write_block_sizes(sqfs_meta_writer_t *ir, sqfs_inode_generic_t *n) } int sqfs_meta_writer_write_inode(sqfs_meta_writer_t *ir, - sqfs_inode_generic_t *n) + const sqfs_inode_generic_t *n) { sqfs_inode_t base; int ret; |