From: Uwe Hermann Date: Fri, 22 May 2020 11:06:26 +0000 (+0200) Subject: Use PyLong_FromUnsignedLongLong() where needed. X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=3d9e87aadacf3f8f8a93ad09432c67a257b51633;hp=3d9e87aadacf3f8f8a93ad09432c67a257b51633;p=libsigrokdecode.git 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. ---