fixed casting

This commit is contained in:
roberto@gambit
2011-08-18 06:13:51 +02:00
parent 14b403c046
commit 97ec789bbe
+1 -1
View File
@@ -174,7 +174,7 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre
wi->callable = PyDict_GetItem(applications, app_mnt);
}
Py_INCREF(wi->callable);
Py_INCREF((PyObject *)wi->callable);
#ifdef UWSGI_ASYNC
wi->environ = malloc(sizeof(PyObject*)*uwsgi.cores);