aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs')
-rw-r--r--lib/sqfs/dir_writer.c2
-rw-r--r--lib/sqfs/io_file.c2
-rw-r--r--lib/sqfs/meta_writer.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqfs/dir_writer.c b/lib/sqfs/dir_writer.c
index 5ce29b6..ff5faa7 100644
--- a/lib/sqfs/dir_writer.c
+++ b/lib/sqfs/dir_writer.c
@@ -105,7 +105,7 @@ void sqfs_dir_writer_destroy(sqfs_dir_writer_t *writer)
free(writer);
}
-int sqfs_dir_writer_begin(sqfs_dir_writer_t *writer, sqfs_u16 flags)
+int sqfs_dir_writer_begin(sqfs_dir_writer_t *writer, sqfs_u32 flags)
{
sqfs_u32 offset;
sqfs_u64 block;
diff --git a/lib/sqfs/io_file.c b/lib/sqfs/io_file.c
index b07ae24..f93af4d 100644
--- a/lib/sqfs/io_file.c
+++ b/lib/sqfs/io_file.c
@@ -107,7 +107,7 @@ static int stdio_truncate(sqfs_file_t *base, sqfs_u64 size)
}
-sqfs_file_t *sqfs_open_file(const char *filename, int flags)
+sqfs_file_t *sqfs_open_file(const char *filename, sqfs_u32 flags)
{
sqfs_file_stdio_t *file;
int open_mode, temp;
diff --git a/lib/sqfs/meta_writer.c b/lib/sqfs/meta_writer.c
index 5db4fe7..ee92b3b 100644
--- a/lib/sqfs/meta_writer.c
+++ b/lib/sqfs/meta_writer.c
@@ -41,7 +41,7 @@ struct sqfs_meta_writer_t {
/* The raw data chunk that data is appended to */
sqfs_u8 data[SQFS_META_BLOCK_SIZE];
- int flags;
+ sqfs_u32 flags;
meta_block_t *list;
meta_block_t *list_end;
};
@@ -56,7 +56,7 @@ static int write_block(sqfs_file_t *file, meta_block_t *outblk)
sqfs_meta_writer_t *sqfs_meta_writer_create(sqfs_file_t *file,
sqfs_compressor_t *cmp,
- int flags)
+ sqfs_u32 flags)
{
sqfs_meta_writer_t *m;