aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch')
-rw-r--r--vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch b/vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch
new file mode 100644
index 0000000..586c0d5
--- /dev/null
+++ b/vcpkg/ports/rsm-bsa/DirectXTexUint8Byte.patch
@@ -0,0 +1,16 @@
+diff --git a/src/bsa/fo4.cpp b/src/bsa/fo4.cpp
+index 5484f13..2d9bbf3 100644
+--- a/src/bsa/fo4.cpp
++++ b/src/bsa/fo4.cpp
+@@ -677,7 +677,7 @@ namespace bsa::fo4
+ }
+
+ a_out.write_bytes({ //
+- static_cast<const std::byte*>(blob.GetBufferPointer()),
++ reinterpret_cast<const std::byte*>(blob.GetBufferPointer()),
+ blob.GetBufferSize() });
+ std::vector<std::byte> buffer;
+ for (const auto& chunk : *this) {
+--
+2.47.0.windows.1
+