]> granicus.if.org Git - python/commit
Py_SAFE_DOWNCAST isn't quite doing the right thing for going from Py_ssize_t
authorThomas Wouters <thomas@python.org>
Thu, 2 Mar 2006 04:48:27 +0000 (04:48 +0000)
committerThomas Wouters <thomas@python.org>
Thu, 2 Mar 2006 04:48:27 +0000 (04:48 +0000)
commit369092be43cf6857aff58238dd68d00fab00850e
treef94a471a247456d2d9eb6de16a02f0ab6737eaab
parent46872b16135c8c9c9139687ca23df4545c1b79f2
Py_SAFE_DOWNCAST isn't quite doing the right thing for going from Py_ssize_t
to an unsigned int (and back again) on 64-bit machines, even though the
actual value of the Py_ssize_t variable is way below 31 bits. I suspect
compiler-error.
Modules/_hashopenssl.c