tests: fix json test for large numbers
authorFelipe Sateler <fsateler@debian.org>
Wed, 2 Jun 2021 00:42:44 +0000 (20:42 -0400)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Thu, 3 Jun 2021 18:41:39 +0000 (18:41 +0000)
commita12d90e2edb24e756510a4f0fc523b42405a5c06
tree4ec802b840a3cc4b2adadafec71d12a93457077d
parenta7d44750af9a7c535ac4bf474d49a7cdc2aab415
tests: fix json test for large numbers

PRIu64 means print a uint64_t, not an unsigned long. This
is warned by the compiler:

warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int'

This causes build failures on some 32-bit archs

https://buildd.debian.org/status/fetch.php?pkg=pulseaudio&arch=i386&ver=14.99.1%2Bdfsg1-2&stamp=1622553415&raw=0

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/571>
src/tests/json-test.c