]> sigrok.org Git - libsigrokdecode.git/commit
util: silence printf format compiler warnings (Python ssize_t)
authorGerhard Sittig <redacted>
Thu, 24 Nov 2022 12:10:04 +0000 (13:10 +0100)
committerGerhard Sittig <redacted>
Thu, 24 Nov 2022 12:13:58 +0000 (13:13 +0100)
commit02cc30befa2d5cdfa1d1c214012490332a88a333
treefb241a34f0451f68ca5ba1bd31b1ffdee1c2eb5b
parentdcf512bb44c5a83540295115ec46633affd8c646
util: silence printf format compiler warnings (Python ssize_t)

On some platforms PY_FORMAT_SIZE_T seems to be ineffective, resulting in
compiler warnings about printf format data type mismatches (observed in
MXE builds).

Silence the warnings. Prefer the ssize_t data type instead which we know
the printf format of, reliably.
util.c