Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37718582
en ru br
ALT Linux repos
4.1: 1.33.1-alt2

Group :: Development/C++
RPM: boost1.33

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: boost-1.33.1-alt-python25.patch
Download


--- 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))
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin