diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2021-04-18 21:24:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 21:24:45 +0200 |
commit | d58a832c81c2c96ae0f6e72614e1cc47f4b5d332 (patch) | |
tree | 962b534ddb91b46fca2b37022d88f8bf5a0171f2 | |
parent | 793bf9392122512855146b61539f5cc8a7572376 (diff) | |
parent | e95cad95a8f3141efdff425e3c8f05723170b64e (diff) | |
download | uwsgi-d58a832c81c2c96ae0f6e72614e1cc47f4b5d332.tar.gz |
Merge pull request #2306 from xrmx/karolyi-patch-1
plugins/gevent: fix compilation with clang11
-rw-r--r-- | plugins/gevent/gevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gevent/gevent.c b/plugins/gevent/gevent.c index cc02e90b..b0d0c361 100644 --- a/plugins/gevent/gevent.c +++ b/plugins/gevent/gevent.c @@ -389,7 +389,7 @@ static void gil_gevent_get() { } static void gil_gevent_release() { - PyGILState_Release((PyGILState_STATE) pthread_getspecific(up.upt_gil_key)); + PyGILState_Release((PyGILState_STATE)(long) pthread_getspecific(up.upt_gil_key)); } static void monkey_patch() { |