Commit 64578063 authored by Denis Bilenko's avatar Denis Bilenko

fix compilation warnings

parent 9bf4b495
......@@ -160,7 +160,7 @@ static void gevent_call(struct PyGeventLoopObject* loop, struct PyGeventCallback
Py_DECREF(result);
}
else {
gevent_handle_error(loop, cb);
gevent_handle_error(loop, (PyObject*)cb);
}
Py_INCREF(Py_None);
......
......@@ -30,7 +30,7 @@ cdef extern from "callbacks.h":
void gevent_callback_stat(libev.ev_loop, void*, int)
void gevent_run_callbacks(libev.ev_loop, void*, int)
void gevent_periodic_signal_check(libev.ev_loop, void*, int)
void gevent_call(object, object)
void gevent_call(loop, callback)
cdef extern from *:
int errno
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment