OpenMiInk/third_party/krita-deps-management/ext_ocio/fix-clang21-ifstream.patch
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

10 lines
521 B
Diff

diff --git a/src/OpenColorIO/transforms/FileTransform.cpp b/src/OpenColorIO/transforms/FileTransform.cpp
index b62093d..7d13fe1 100644
--- a/src/OpenColorIO/transforms/FileTransform.cpp
+++ b/src/OpenColorIO/transforms/FileTransform.cpp
@@ -218,7 +218,7 @@ std::unique_ptr<std::istream> getLutData(
// Default behavior. Return file stream.
return std::unique_ptr<std::istream>(new std::ifstream(
- Platform::filenameToUTF(filepath), mode));
+ Platform::filenameToUTF(filepath).c_str(), mode));
}