File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ using enum script_verify_flag_name;
155155static constexpr int MAX_SCRIPT_VERIFY_FLAGS_BITS = static_cast <int >(SCRIPT_VERIFY_END_MARKER);
156156
157157// assert there is still a spare bit
158- static_assert (0 < MAX_SCRIPT_VERIFY_FLAGS_BITS && MAX_SCRIPT_VERIFY_FLAGS_BITS <= 31 );
158+ static_assert (0 < MAX_SCRIPT_VERIFY_FLAGS_BITS && MAX_SCRIPT_VERIFY_FLAGS_BITS <= 63 );
159159
160160static constexpr script_verify_flags::value_type MAX_SCRIPT_VERIFY_FLAGS = ((script_verify_flags::value_type{1 } << MAX_SCRIPT_VERIFY_FLAGS_BITS) - 1 );
161161
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ enum class script_verify_flag_name : uint8_t;
1414class script_verify_flags
1515{
1616public:
17- using value_type = uint32_t ;
17+ using value_type = uint64_t ;
1818
1919 // default constructor is SCRIPT_VERIFY_NONE
2020 consteval script_verify_flags () : m_value{0 } { }
You can’t perform that action at this time.
0 commit comments