diff options
author | 2021-02-17 12:52:08 +0100 | |
---|---|---|
committer | 2021-02-17 12:52:08 +0100 | |
commit | f8bab974ee8fc988f6ec67439554e1bd16cbe895 (patch) | |
tree | dcd0f2d902be574a4bc67ba22f66f6042a56df06 | |
parent | update to cffi 1.14.5 (using pypy/tool/import_cffi.py and manually fixing too) (diff) | |
download | pypy-f8bab974ee8fc988f6ec67439554e1bd16cbe895.tar.gz pypy-f8bab974ee8fc988f6ec67439554e1bd16cbe895.tar.bz2 pypy-f8bab974ee8fc988f6ec67439554e1bd16cbe895.zip |
fix C warning, lltype.Signed is a long, not an int
-rw-r--r-- | rpython/rlib/_rsocket_rffi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpython/rlib/_rsocket_rffi.py b/rpython/rlib/_rsocket_rffi.py index 7eacf28f81..7a2b1bb91f 100644 --- a/rpython/rlib/_rsocket_rffi.py +++ b/rpython/rlib/_rsocket_rffi.py @@ -924,7 +924,7 @@ if HAVE_SENDMSG: These functions free memory that was allocated in C (sendmsg or recvmsg) was used in rsocket and now needs cleanup */ RPY_EXTERN - int free_pointer_to_signedp(int** ptrtofree){ + int free_pointer_to_signedp(long** ptrtofree){ free(*ptrtofree); return 0; } @@ -958,7 +958,7 @@ if HAVE_SENDMSG: "RPY_EXTERN " "int memcpy_from_CCHARP_at_offset_and_size(char* stringfrom, char** stringto, int offset, int size);\n" "RPY_EXTERN " - "int free_pointer_to_signedp(int** ptrtofree);\n" + "int free_pointer_to_signedp(long** ptrtofree);\n" "RPY_EXTERN " "int free_ptr_to_charp(char** ptrtofree);\n" ] |