Skip to content

Commit 3cb5121

Browse files
author
Thomas Preud'homme
committed
Revert "Fixed relative address in LNT profile control-flow graph."
This reverts commit 6ba0657.
1 parent 6ba0657 commit 3cb5121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lnt/server/ui/static/lnt_profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ CFG.prototype = {
138138
// If the address starts with '#' it is a relative one
139139
// and should be processed differently
140140
if (addressString.startsWith('#'))
141-
return addressCurrent + parseInt(addressString.substring(1), 10);
141+
return addressCurrent + parseInt(addressString.substring(1), 16);
142142
else
143143
return parseInt(addressString, 16);
144144
},

0 commit comments

Comments
 (0)