summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Call.c
diff options
context:
space:
mode:
authortduehr <tduehr@gmail.com>2015-03-14 21:38:08 -0500
committertduehr <tduehr@gmail.com>2015-03-14 21:38:08 -0500
commit12460a229430135bbdf7e9e7712d0b15f5614100 (patch)
tree153b70a1e2d3eb5ffbddc263098157d1f5456b90 /ext/ffi_c/Call.c
parentf771b2b017e923f9b97e14fbcb2a4fb31e800d53 (diff)
downloadffi-12460a229430135bbdf7e9e7712d0b15f5614100.tar.gz
minor fix in constant size adj
Diffstat (limited to 'ext/ffi_c/Call.c')
-rw-r--r--ext/ffi_c/Call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/Call.c b/ext/ffi_c/Call.c
index 08e38dd..b028811 100644
--- a/ext/ffi_c/Call.c
+++ b/ext/ffi_c/Call.c
@@ -203,7 +203,7 @@ rbffi_SetupCallParams(int argc, VALUE* argv, int paramCount, Type** paramTypes,
param->u32 = NUM2UINT(argv[argidx]);
}
- ADJ(param, UINT32);
+ ADJ(param, INT32);
++argidx;
break;
@@ -227,7 +227,7 @@ rbffi_SetupCallParams(int argc, VALUE* argv, int paramCount, Type** paramTypes,
param->u64 = NUM2ULL(argv[argidx]);
}
- ADJ(param, UINT64);
+ ADJ(param, INT64);
++argidx;
break;