aboutsummaryrefslogtreecommitdiff
path: root/src/dogecoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dogecoin.cpp')
-rw-r--r--src/dogecoin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dogecoin.cpp b/src/dogecoin.cpp
index 31cd69bfc..3bc6fb932 100644
--- a/src/dogecoin.cpp
+++ b/src/dogecoin.cpp
@@ -9,6 +9,9 @@
#include <dogecoin.h>
#include <logging.h>
+#ifdef __clang__
+__attribute__((no_sanitize("unsigned-integer-overflow")))
+#endif // __clang__
int static generateMTRandom(unsigned int s, int range)
{
boost::mt19937 gen(s);