]> arthur.barton.de Git - bup.git/commit
_helpers.c: use "unsigned long long" in ASSIGN_PYLONG_TO_INTEGRAL().
authorRob Browning <rlb@defaultvalue.org>
Fri, 21 Mar 2014 20:13:27 +0000 (15:13 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 21 Mar 2014 20:13:29 +0000 (15:13 -0500)
commit4289be0a394ef4d4008d38a688b31ade02e9d753
treeaff892e2dfb1ead8c96e8cfaec63da4e97f6a001
parent761fd595b620bc91f2a7393b7ba00fbb3daabf75
_helpers.c: use "unsigned long long" in ASSIGN_PYLONG_TO_INTEGRAL().

The result of PyLong_AsUnsignedLongLong() was being assigned to an
"unsigned long".  Don't do that.

Thanks to Alexander Barton <alex@barton.de> for reporting the problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c