sal/osl/unx/file.cxx | 2 +- sal/osl/unx/file_impl.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3c633a88c5212d8dd665d7bcb9678fa1eac1464f Author: Stephan Bergmann <stephan.bergm...@collabora.com> AuthorDate: Wed Jul 2 19:49:31 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Thu Jul 3 21:15:26 2025 +0200 Stick to sal_uInt32 for osl_File_OpenFlags ...following up on 34f1a750a128e02aa3191e36a2c0b28371e96287 "sal: initial osl::File sand-boxing commit for Unix.", for consistency with similar functions Change-Id: Ic10118db561d99ca95262f104dabaaf6d23d17d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187291 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 45adb8b8be42..0243a172d915 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -907,7 +907,7 @@ void setAllowedPaths( abortOnForbidden = !!getenv("SAL_ABORT_ON_FORBIDDEN"); } -bool isForbidden(const OString &filePath, int nFlags) +bool isForbidden(const OString &filePath, sal_uInt32 nFlags) { // avoid realpath cost unless configured if (allowedPathsRead.size() == 0) diff --git a/sal/osl/unx/file_impl.hxx b/sal/osl/unx/file_impl.hxx index f0aec40c59cd..22e78f00393f 100644 --- a/sal/osl/unx/file_impl.hxx +++ b/sal/osl/unx/file_impl.hxx @@ -57,7 +57,7 @@ struct DirectoryItem_Impl @see setAllowedPaths in sal/inc/setallowedpaths.hxx */ -bool isForbidden(const OString &filePath, int nFlags); +bool isForbidden(const OString &filePath, sal_uInt32 nFlags); oslFileError openFile( rtl_uString * pustrFileURL, oslFileHandle * pHandle, sal_uInt32 uFlags,