aboutsummaryrefslogtreecommitdiff
path: root/include/sqfs/io.h
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 /include/sqfs/io.h
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 'include/sqfs/io.h')
-rw-r--r--include/sqfs/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sqfs/io.h b/include/sqfs/io.h
index 866389b..1108a61 100644
--- a/include/sqfs/io.h
+++ b/include/sqfs/io.h
@@ -140,7 +140,7 @@ extern "C" {
* @return A pointer to a file object on success, NULL on allocation failure,
* failure to open the file or if an unknown flag was set.
*/
-SQFS_API sqfs_file_t *sqfs_open_file(const char *filename, int flags);
+SQFS_API sqfs_file_t *sqfs_open_file(const char *filename, sqfs_u32 flags);
#ifdef __cplusplus
}