From: Zachary Waldowski Date: Mon, 30 Dec 2013 20:27:14 +0000 (-0500) Subject: Darwin/iOS: Fix mis-typing of vfp_reg_free X-Git-Tag: v3.1~57^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=994be3a5c1d0d17b19103396103e128517fd62f9;p=platform%2Fupstream%2Flibffi.git Darwin/iOS: Fix mis-typing of vfp_reg_free --- diff --git a/src/arm/ffi.c b/src/arm/ffi.c index 3b39056..7cd9289 100644 --- a/src/arm/ffi.c +++ b/src/arm/ffi.c @@ -871,7 +871,7 @@ static int vfp_type_p (ffi_type *t) static int place_vfp_arg (ffi_cif *cif, ffi_type *t) { - int reg = cif->vfp_reg_free; + short reg = cif->vfp_reg_free; int nregs = t->size / sizeof (float); int align = ((t->type == FFI_TYPE_STRUCT_VFP_FLOAT || t->type == FFI_TYPE_FLOAT) ? 1 : 2);