summaryrefslogtreecommitdiff
path: root/tests/test_sorcery.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-12-04 17:13:48 +0000
committerMatthew Jordan <mjordan@digium.com>2014-12-04 17:13:48 +0000
commit19992844be43acda319a326e8f7489be3343ca80 (patch)
tree9fa0a8c75495875855674629b66693471120b001 /tests/test_sorcery.c
parent343a83d7d87f9090ed6a3003ff752208545c884e (diff)
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 ........ Merged revisions 428973 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_sorcery.c')
0 files changed, 0 insertions, 0 deletions