diff --git a/src/test/op_reversebytes_tests.cpp b/src/test/op_reversebytes_tests.cpp --- a/src/test/op_reversebytes_tests.cpp +++ b/src/test/op_reversebytes_tests.cpp @@ -106,7 +106,7 @@ MANDATORY_SCRIPT_VERIFY_FLAGS, }); for (uint32_t flagindex = 0; flagindex < 32; ++flagindex) { - uint32_t flags = 1 << flagindex; + uint32_t flags = 1u << flagindex; flaglist.push_back(flags); }