mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-02-06 03:39:56 +00:00
Fix RegistersTracker.getJrInfo not returning the correct values on Windows
This commit is contained in:
parent
267f4ed072
commit
8c175f51db
@ -97,7 +97,7 @@ static PyObject *rabbitizer_type_RegistersTracker_getJrInfo(PyRabbitizerRegister
|
||||
}
|
||||
|
||||
if (RabbitizerRegistersTracker_getJrInfo(&self->tracker, &instr->instr, &dstOffset, &dstAddress)) {
|
||||
return PyTuple_Pack(2, PyLong_FromLong(dstOffset), PyLong_FromLong(dstAddress));
|
||||
return PyTuple_Pack(2, PyLong_FromLong(dstOffset), PyLong_FromUnsignedLong(dstAddress));
|
||||
}
|
||||
|
||||
Py_RETURN_NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user