GT-3049 Fixes for return storage commit

This commit is contained in:
emteere 2019-09-05 16:24:29 -04:00
parent f599ab1623
commit 8a22a4f84b

View file

@ -415,6 +415,8 @@ public class VariableUtilities {
" bytes: " + curStorage.toString());
}
}
vnAddr = newReg.getAddress();
if (bigEndian) {
vnAddr = vnAddr.add(newReg.getMinimumByteSize() - size);
return new Varnode(vnAddr, size);