summaryrefslogtreecommitdiffstats
path: root/src/server/ThreadManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/ThreadManager.hpp')
-rw-r--r--src/server/ThreadManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ThreadManager.hpp b/src/server/ThreadManager.hpp
index 17f2c6ff..5f59208f 100644
--- a/src/server/ThreadManager.hpp
+++ b/src/server/ThreadManager.hpp
@@ -37,13 +37,13 @@ class INGEN_API ThreadManager {
public:
static inline void set_flag(ThreadFlag f) {
#ifndef NDEBUG
- flags = ((unsigned)flags | f);
+ flags = (static_cast<unsigned>(flags) | f);
#endif
}
static inline void unset_flag(ThreadFlag f) {
#ifndef NDEBUG
- flags = ((unsigned)flags & (~f));
+ flags = (static_cast<unsigned>(flags) & (~f));
#endif
}