From 849e6718448793b12d7c6641d59779ca12a2ba08 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 15 Jun 2023 16:21:05 +0200 Subject: libsquashfs: cleanup the flag situation on istream/ostream functions - The ostream creation functions already have flag arguments, but make them an sqfs_u32 instead of int. - Add flag arguments to the istream functions, sanitzie and forward them when opening the handle. Signed-off-by: David Oberhollenzer --- lib/io/src/std.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/io') diff --git a/lib/io/src/std.c b/lib/io/src/std.c index c52b4c5..62635ec 100644 --- a/lib/io/src/std.c +++ b/lib/io/src/std.c @@ -23,7 +23,7 @@ int istream_open_stdin(sqfs_istream_t **out) { sqfs_file_handle_t hnd = GetStdHandle(STD_INPUT_HANDLE); - return sqfs_istream_open_handle(out, "stdin", hnd); + return sqfs_istream_open_handle(out, "stdin", hnd, 0); } int ostream_open_stdout(sqfs_ostream_t **out) -- cgit v1.2.3