mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
prepare for 64 bit hcode support
This commit is contained in:
parent
33210a95ac
commit
6d670324f5
@ -133,7 +133,7 @@ namespace
|
||||
HCode.remove(0, 1);
|
||||
QRegExp address("^([\\dA-F]+):?");
|
||||
if (address.indexIn(HCode) == -1) return {};
|
||||
hp.address = address.cap(1).toInt(nullptr, 16);
|
||||
hp.address = address.cap(1).toULongLong(nullptr, 16);
|
||||
HCode.remove(address.cap(0));
|
||||
if (HCode.length())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user