From: William Stein Date: Fri, 27 Oct 2006 11:22:40 +0000 (-0500) Subject: Fix a Py_ssize_t build problem. X-Git-Tag: 0.9.6.14~29^2~216 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=795eca639e66a2060c340e209bdcbc114ef1084d;p=cython.git Fix a Py_ssize_t build problem. --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 128f41d4..09513fb7 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -748,6 +748,7 @@ sign_and_rank_to_type = { (0, 2): c_uint_type, (0, 3): c_ulong_type, (0, 4): c_ulonglong_type, + (0, 5): c_ulonglong_type, # I'm not sure about this. this should be for size_t Py_ssize_t (1, 0): c_char_type, (1, 1): c_short_type, (1, 2): c_int_type,