Skip to content

Commit

Permalink
Boolean should be ffi_type_uint32.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncruces committed May 24, 2017
1 parent 3a5787b commit 8f2e773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ dispatch(JNIEnv *env, void* func, jint flags, jobjectArray args,
}
else if ((*env)->IsInstanceOf(env, arg, classBoolean)) {
c_args[i].i = (*env)->GetBooleanField(env, arg, FID_Boolean_value);
arg_types[i] = &ffi_type_sint32;
arg_types[i] = &ffi_type_uint32;
arg_values[i] = &c_args[i].i;
}
else if ((*env)->IsInstanceOf(env, arg, classByte)) {
Expand Down

0 comments on commit 8f2e773

Please sign in to comment.