mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-06 13:25:31 +00:00
fix signedness issue with reg read/write in ruby bindings
This commit is contained in:
parent
7660768942
commit
df497a9502
|
@ -133,7 +133,7 @@ VALUE m_uc_reg_read(VALUE self, VALUE reg_id){
|
||||||
if (err != UC_ERR_OK) {
|
if (err != UC_ERR_OK) {
|
||||||
rb_raise(UcError, "%s", uc_strerror(err));
|
rb_raise(UcError, "%s", uc_strerror(err));
|
||||||
}
|
}
|
||||||
return LL2NUM(reg_value);
|
return ULL2NUM(reg_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue