prepare for 64 bit hcode support
This commit is contained in:
parent
33210a95ac
commit
6d670324f5
@ -133,7 +133,7 @@ namespace
|
|||||||
HCode.remove(0, 1);
|
HCode.remove(0, 1);
|
||||||
QRegExp address("^([\\dA-F]+):?");
|
QRegExp address("^([\\dA-F]+):?");
|
||||||
if (address.indexIn(HCode) == -1) return {};
|
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));
|
HCode.remove(address.cap(0));
|
||||||
if (HCode.length())
|
if (HCode.length())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user