librz/arch/luajit: fix parsing on big-endian machines (#6350)
This commit is contained in:
parent
2d1cff75ee
commit
9ce185e507
1 changed files with 2 additions and 2 deletions
|
|
@ -96,9 +96,9 @@ static ut64 handle_value_type(RzBuffer *buff, LuaJITValue *value, ut64 offset, L
|
|||
offset += end_len;
|
||||
value->size += end_len;
|
||||
|
||||
ut64 *heap_int = RZ_NEW(ut64);
|
||||
st32 *heap_int = RZ_NEW(st32);
|
||||
if (heap_int) {
|
||||
*heap_int = _val;
|
||||
*heap_int = (st32)_val;
|
||||
value->data = heap_int;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue