Darwin/x86_64: Fix 64-bit type shortening warnings

This commit is contained in:
Zachary Waldowski
2013-12-30 16:23:21 -05:00
parent 821d398f08
commit 9da28b4427
3 changed files with 17 additions and 17 deletions

View File

@@ -187,7 +187,7 @@ ffi_status FFI_HIDDEN ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi,
{
/* Add any padding if necessary */
if (((*ptr)->alignment - 1) & bytes)
bytes = ALIGN(bytes, (*ptr)->alignment);
bytes = (unsigned)ALIGN(bytes, (*ptr)->alignment);
#ifdef TILE
if (bytes < 10 * FFI_SIZEOF_ARG &&