--- boost_1_33_1/libs/python/src/object_protocol.cpp.py25 2008-02-19 21:39:34 +0300 +++ boost_1_33_1/libs/python/src/object_protocol.cpp 2008-02-19 21:41:06 +0300 @@ -106,7 +106,7 @@ namespace // slicing code copied directl PySequenceMethods *sq = tp->tp_as_sequence; if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { - int ilow = 0, ihigh = INT_MAX; + Py_ssize_t ilow = 0, ihigh = INT_MAX; if (!_PyEval_SliceIndex(v, &ilow)) return NULL; if (!_PyEval_SliceIndex(w, &ihigh)) @@ -133,7 +133,7 @@ namespace // slicing code copied directl PySequenceMethods *sq = tp->tp_as_sequence; if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { - int ilow = 0, ihigh = INT_MAX; + Py_ssize_t ilow = 0, ihigh = INT_MAX; if (!_PyEval_SliceIndex(v, &ilow)) return -1; if (!_PyEval_SliceIndex(w, &ihigh))