diff options
author | Armin Rigo <arigo@tunes.org> | 2015-05-05 09:06:15 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2015-05-05 09:06:15 +0200 |
commit | 37012b04f9b7f0e5633bf30338cc30d2cc0efe4f (patch) | |
tree | 5c0cbd632771d259062d28287c2473ae818f3b51 /c/libffi_msvc | |
parent | e36979b86682f41a9d16643a001b4f74880fcdd4 (diff) | |
download | cffi-37012b04f9b7f0e5633bf30338cc30d2cc0efe4f.tar.gz |
Silence msvc warnings
Diffstat (limited to 'c/libffi_msvc')
-rw-r--r-- | c/libffi_msvc/ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/libffi_msvc/ffi.c b/c/libffi_msvc/ffi.c index a66f9d8..836f171 100644 --- a/c/libffi_msvc/ffi.c +++ b/c/libffi_msvc/ffi.c @@ -119,7 +119,7 @@ void ffi_prep_args(char *stack, extended_cif *ecif) argp += z; } - if (argp - stack > ecif->cif->bytes) + if (argp - stack > (long)ecif->cif->bytes) { Py_FatalError("FFI BUG: not enough stack space for arguments"); } |