Merged revisions 76330 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76330 | mark.dickinson | 2009-11-16 17:33:25 +0000 (Mon, 16 Nov 2009) | 1 line Silence MSVC warning about unary minus applied to unsigned type. ........
This commit is contained in:
parent
21f6d3e9b0
commit
b9e16245ac
|
@ -316,7 +316,7 @@ range_reverse(PyObject *seq)
|
|||
calculation is also done modulo ULONG_MAX+1.
|
||||
*/
|
||||
it->start = (long)(start + (unsigned long)(len-1) * step);
|
||||
it->step = (long)(-(unsigned long)step);
|
||||
it->step = (long)(0UL-step);
|
||||
|
||||
return (PyObject *)it;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue