json: Replace %I64d, %I64u by %PRId64, %PRIu64
commit53a0d616fecab09870411573afc58fd24ffb8648
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:40:08 +0000 (23 18:40 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (24 20:26 +0200)
tree78368fb74f977d94098a3a06a25b2eaf375d657f
parentf7617d45d4652ae10d38bd0c917d7488d155cccb
json: Replace %I64d, %I64u by %PRId64, %PRIu64

Support for %I64d got added in commit 2c0d4b36e7f "json: fix PRId64 on
Win32".  We had to hard-code I64d because we used the lexer's finite
state machine to check interpolations.  No more, so clean this up.

Additional conversion specifications would be easy enough to implement
when needed.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-42-armbru@redhat.com>
qobject/json-parser.c
tests/check-qjson.c