Fix a warning on 64-bit Windows
authorJosh Triplett <josh@joshtriplett.org>
Tue, 25 Mar 2014 04:24:53 +0000 (21:24 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Tue, 25 Mar 2014 04:24:53 +0000 (21:24 -0700)
commit56be47f87629e31afbcb0774aa65735f539ee972
tree3030b96c4d8d04ccac3d629314b8564a294e8fb1
parent48a8eda74aad8a21b6f26df5df08fe64c043d208
Fix a warning on 64-bit Windows

When sizeof(size_t) != sizeof(unsigned), adding a size_t to cif->bytes
produces a "possible loss of data" warning.  However, the size_t in
question refers to the size of a single parameter.  Use a cast to avoid
the warning.
src/x86/ffi.c