summaryrefslogtreecommitdiffstats
path: root/include/o3tl
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/typed_flags_set.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/o3tl/typed_flags_set.hxx b/include/o3tl/typed_flags_set.hxx
index 016f8eb805a8..4622d41e19f8 100644
--- a/include/o3tl/typed_flags_set.hxx
+++ b/include/o3tl/typed_flags_set.hxx
@@ -29,9 +29,9 @@ namespace o3tl {
template<typename T> struct typed_flags {};
-#if defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ <= 6 && \
+#if defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ <= 7 && \
!defined __clang__
-#define O3TL_STD_UNDERLYING_TYPE_E unsigned int
+#define O3TL_STD_UNDERLYING_TYPE_E signed int
#else
#define O3TL_STD_UNDERLYING_TYPE_E typename std::underlying_type<E>::type
#endif