vcpkg/ports/draco/fix-uwperror.patch

14 lines
358 B
Diff

diff --git a/src/draco/core/bit_utils.h b/src/draco/core/bit_utils.h
index f63cd07..0f6baaf 100644
--- a/src/draco/core/bit_utils.h
+++ b/src/draco/core/bit_utils.h
@@ -26,6 +26,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.