aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/draco/fix-uwperror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/draco/fix-uwperror.patch')
-rw-r--r--vcpkg/ports/draco/fix-uwperror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/draco/fix-uwperror.patch b/vcpkg/ports/draco/fix-uwperror.patch
new file mode 100644
index 0000000..54e2cc9
--- /dev/null
+++ b/vcpkg/ports/draco/fix-uwperror.patch
@@ -0,0 +1,13 @@
+diff --git a/src/draco/core/bit_utils.h b/src/draco/core/bit_utils.h
+index a102095..b6ba69b 100644
+--- a/src/draco/core/bit_utils.h
++++ b/src/draco/core/bit_utils.h
+@@ -27,6 +27,8 @@
+ #include <intrin.h>
+ #endif // defined(_MSC_VER)
+
++#pragma warning(disable:4146)
++
+ namespace draco {
+
+ // Returns the number of '1' bits within the input 32 bit integer.