Fix compiler warning from GCC 4.10 fixup.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 13 May 2014 00:23:45 +0000 (00:23 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 May 2014 00:23:45 +0000 (00:23 +0000)
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@413770 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sig_pri.c

index 33bbd91..025117c 100644 (file)
@@ -2427,7 +2427,7 @@ static void party_json_to_ami(struct ast_str **msg, const char *prefix, struct a
        struct ast_json *subaddress = ast_json_object_get(party, "subaddress");
 
        /* Combined party presentation */
-       ast_str_append(msg, 0, "%sPres: %zd (%s)\r\n", prefix,
+       ast_str_append(msg, 0, "%sPres: %jd (%s)\r\n", prefix,
                ast_json_integer_get(presentation),
                ast_json_string_get(presentation_txt));