]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/test: Fix compilation issue on 32-bit systems
authorMatthew Jordan <mjordan@digium.com>
Thu, 4 Dec 2014 17:13:34 +0000 (17:13 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 4 Dec 2014 17:13:34 +0000 (17:13 +0000)
commitffd928263fe9b64bdf4eacc61169835a40681985
tree4eee5e2ec3406e53aad2bcf9265b39bfc99fbdc3
parent30c34062c312fc3dabc456913d655b4c6970257b
main/test: Fix compilation issue on 32-bit systems

On a 32-bit system, a type of intmax_t will result in a compilation warning
when formatted as a 'long int'. Use the format specifier of %jd (which was
what was used originally in manager.c) to format the JSON extracted integer
on both 32-/64-bit systems.
........

Merged revisions 428972 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/test.c