From 154d17ec2bd67ccf2e008a0731747a0ed09cc057 Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 14 May 2014 11:33:18 +0000 Subject: [PATCH] correctly manage 64bit sharedarea numbers on 32bit systems --- plugins/python/uwsgi_pymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index fb0bfd6d..ecb6aad2 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -1648,7 +1648,7 @@ PyObject *py_uwsgi_sharedarea_read64(PyObject * self, PyObject * args) { return PyErr_Format(PyExc_ValueError, "error calling uwsgi_sharedarea_read64()"); } - return PyLong_FromLong(value); + return PyLong_FromLongLong(value); }