Skip to content

Commit 390ea37

Browse files
committed
Making default type of comms::field::BitmaskValue to be std::uintmax_t instead of unsigned.
1 parent 8e636bb commit 390ea37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/comms/field/BitmaskValue.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "comms/util/SizeToType.h"
2323

2424
#include <cstddef>
25+
#include <cstdint>
2526
#include <type_traits>
2627
#include <utility>
2728

@@ -48,7 +49,7 @@ template <>
4849
struct BitmaskUndertlyingType<false>
4950
{
5051
template <typename TOptionsBundle>
51-
using Type = unsigned;
52+
using Type = std::uintmax_t;
5253
};
5354

5455
template <typename TOptionsBundle>

0 commit comments

Comments
 (0)