Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1499:51d87933eb4b Date: 2014-04-04 17:30 +0200 http://bitbucket.org/cffi/cffi/changeset/51d87933eb4b/
Log: Fix a type mismatch that causes a warning on some compilers diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/test_verify.py @@ -1654,8 +1654,8 @@ ffi = FFI() ffi.cdef(""" int (*python_callback)(int how_many, int *values); - void *const c_callback; /* pass this ptr to C routines */ - int some_c_function(void *cb); + int (*const c_callback)(int,...); /* pass this ptr to C routines */ + int some_c_function(int(*cb)(int,...)); """) lib = ffi.verify(""" #include <stdarg.h> _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit