Fixed x-refs to Address (#495)

This commit is contained in:
Itay Cohen 2018-05-14 18:21:59 +03:00 committed by xarkes
parent 24941611fe
commit 8ac598f992

View File

@ -1418,7 +1418,7 @@ QList<XrefDescription> CutterCore::getXRefs(RVA addr, bool to, bool whole_functi
continue;
xref.from = xrefObject["from"].toVariant().toULongLong();
xref.from_str = Core()->cmd("fd " + xrefObject["from"].toString()).trimmed();
xref.from_str = Core()->cmd("fd " + QString::number(xrefObject["from"].toInt())).trimmed();
if (!whole_function && !to && xref.from != addr)
continue;