comparison mercurial/scmposix.py @ 22400:888bc106de83

parsers: fix typing issue when constructing Python integer object The passed variable is a Py_ssize_t, not a long, and consequently should use PyInt_FromSsize_t rather than PyInt-FromLong. Fixed based on warning from Microsoft Visual C++ 2008.
author Henrik Stuart <hg@hstuart.dk>
date Thu, 11 Sep 2014 12:05:23 -0500
parents 4c6f7f0dadab
children 23c995ed466b
comparison
equal deleted inserted replaced
22399:9f490afcb067 22400:888bc106de83