This PR fixes -Wsign-compare
warning on ARM 32-bit platform which is emitted on master (54f812d9d29893c690ae06b84aaeab128186aa36) by different compilers:
- GCC:
0 CXX util/libbitcoin_util_a-asmap.o
1util/asmap.cpp: In function ‘uint32_t Interpret(const std::vector<bool>&, const std::vector<bool>&)’:
2util/asmap.cpp:82:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
3 if (jump >= endpos - pos) break;
4 ~~~~~^~~~~~~~~~~~~~~
5 CXX util/libbitcoin_util_a-bytevectorhash.o
- Clang:
0 CXX util/libbitcoin_util_a-asmap.o
1util/asmap.cpp:82:26: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'std::ptrdiff_t' (aka 'int') [-Wsign-compare]
2 if (jump >= endpos - pos) break;
3 ~~~~ ^ ~~~~~~~~~~~~
4 CXX util/libbitcoin_util_a-bytevectorhash.o
51 warning generated.