summaryrefslogtreecommitdiff
path: root/lib/sqfs/io_file.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/io_file.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/io_file.c')
-rw-r--r--lib/sqfs/io_file.c2
1 files changed, 1 insertions, 1 deletions
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;