pineapple-src/externals/vcpkg/ports/draco/fix-uwperror.patch
2022-07-23 03:01:36 +02:00

13 lines
358 B
Diff
Executable file

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.