Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54649 - sandbox-branches/bhy/py3k/libs/python/src/converter
From: divinekid_at_[hidden]
Date: 2009-07-04 12:30:24


Author: bhy
Date: 2009-07-04 12:30:23 EDT (Sat, 04 Jul 2009)
New Revision: 54649
URL: http://svn.boost.org/trac/boost/changeset/54649

Log:
fix builtin unsgined long from python convert bug
Text files modified:
   sandbox-branches/bhy/py3k/libs/python/src/converter/builtin_converters.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox-branches/bhy/py3k/libs/python/src/converter/builtin_converters.cpp
==============================================================================
--- sandbox-branches/bhy/py3k/libs/python/src/converter/builtin_converters.cpp (original)
+++ sandbox-branches/bhy/py3k/libs/python/src/converter/builtin_converters.cpp 2009-07-04 12:30:23 EDT (Sat, 04 Jul 2009)
@@ -137,7 +137,7 @@
   {
       static T extract(PyObject* intermediate)
       {
- long x = PyLong_AsUnsignedLong(intermediate);
+ unsigned long x = PyLong_AsUnsignedLong(intermediate);
           if (PyErr_Occurred())
               throw_error_already_set();
           return numeric_cast<T>(x);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk