mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 14:05:32 +02:00
lParam size should be architecture dependent
This commit is contained in:
parent
418ec7b2f7
commit
92f92dc480
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ RB_METHOD(MiniFFI_call) {
|
||||||
|
|
||||||
for (int i = 0; i < nimport; i++) {
|
for (int i = 0; i < nimport; i++) {
|
||||||
VALUE str = rb_ary_entry(args, i);
|
VALUE str = rb_ary_entry(args, i);
|
||||||
unsigned long lParam = 0;
|
mffi_value lParam = 0;
|
||||||
switch (FIX2INT(rb_ary_entry(own_imports, i))) {
|
switch (FIX2INT(rb_ary_entry(own_imports, i))) {
|
||||||
case _T_POINTER:
|
case _T_POINTER:
|
||||||
if (NIL_P(str)) {
|
if (NIL_P(str)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue