]> sigrok.org Git - libsigrokdecode.git/commit
Use PyLong_FromUnsignedLongLong() where needed.
authorUwe Hermann <redacted>
Fri, 22 May 2020 11:06:26 +0000 (13:06 +0200)
committerUwe Hermann <redacted>
Fri, 22 May 2020 11:06:26 +0000 (13:06 +0200)
commit3d9e87aadacf3f8f8a93ad09432c67a257b51633
treebc19a0afa54f137a6e88808e8589dd8140cc4666
parent9e3ed17732bfee95dd17fbd74ad82195a992eb2f
Use PyLong_FromUnsignedLongLong() where needed.

There were a few places where PyLong_FromLong() was used for uint64_t
numbers. Properly use PyLong_FromUnsignedLongLong() there, and also
fix a few additional size/signedness issues while we're here.

Reported (and partial patch provided) by "The Count" on Bugzilla, thanks!

This fixes bug #1499.
instance.c
type_decoder.c