diff options
Diffstat (limited to 'subx/032check_operand_bounds.cc')
-rw-r--r-- | subx/032check_operand_bounds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/032check_operand_bounds.cc b/subx/032check_operand_bounds.cc index 69daeb46..966913e9 100644 --- a/subx/032check_operand_bounds.cc +++ b/subx/032check_operand_bounds.cc @@ -39,7 +39,7 @@ void check_operand_bounds(const segment& code) { void check_operand_bounds(const word& w) { for (map<string, uint32_t>::iterator p = Operand_bound.begin(); p != Operand_bound.end(); ++p) { if (!has_operand_metadata(w, p->first)) continue; - if (!is_hex_int(w.data)) continue; // later transforms are on their own to do their own bounds checking + if (!looks_like_hex_int(w.data)) continue; // later transforms are on their own to do their own bounds checking int32_t x = parse_int(w.data); if (x >= 0) { if (static_cast<uint32_t>(x) >= p->second) |