summaryrefslogtreecommitdiff
path: root/lib/sqfs/meta_writer.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 16:24:38 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-07 16:25:38 +0200
commit86e5c9c242380957c253971ce638deddd54d5b9e (patch)
tree0b7643363a295d04966995ea367a9308fb1ae7a4 /lib/sqfs/meta_writer.c
parente21bf0b60c1b9d67fe7553105b6440c3fce7c0bb (diff)
Cleanup: consistent, fixed size data types for generic flag fields
Instead of using int or unsigned int for generic function flag arguments, consistently use an unsigned, fixed size type. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/meta_writer.c')
-rw-r--r--lib/sqfs/meta_writer.c4
1 files changed, 2 insertions, 2 deletions
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;