Skip to content

Commit

Permalink
replace to_unsigned_long with int
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jan 30, 2024
1 parent ece5728 commit d7eb298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -3841,7 +3841,7 @@ def parse_address(address: str) -> int:
"""Parse an address and return it as an Integer."""
if is_hex(address):
return int(address, 16)
return to_unsigned_long(gdb.parse_and_eval(address))
return int(gdb.parse_and_eval(address))


def is_in_x86_kernel(address: int) -> bool:
Expand Down

0 comments on commit d7eb298

Please sign in to comment.