summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float_parse.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-05-11 13:44:50 +1000
committerDamien George <damien.p.george@gmail.com>2018-05-11 13:44:50 +1000
commit095d3970173f3d4ad6c43bd0c363b727d3a67241 (patch)
tree3c63396dd854f9576554b4fc31952876967be76a /tests/float/float_parse.py
parentb208aa189e948481fb341ddb525c2ec432972462 (diff)
downloadmicropython-095d3970173f3d4ad6c43bd0c363b727d3a67241.tar.gz
micropython-095d3970173f3d4ad6c43bd0c363b727d3a67241.zip
py/objdeque: Fix sign extension bug when computing len of deque object.
For cases where size_t is smaller than mp_int_t (eg nan-boxing builds) the difference between two size_t's is not sign extended into mp_int_t and so the result is never negative. This patch fixes this bug by using ssize_t for the type of the result.
Diffstat (limited to 'tests/float/float_parse.py')
0 files changed, 0 insertions, 0 deletions