diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 363b6673a212640f6e1965dfc92ab3e71b1e7f4f..5ce17fac7964ff7417b31b3de9f0a27ef80fe6e6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -15087,7 +15087,7 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char else if (strcasecmp(args.field, "local_lostpackets") == 0) snprintf(buf, buflen, "%u", qos.local_lostpackets); else if (strcasecmp(args.field, "local_jitter") == 0) - snprintf(buf, buflen, "%.0lf", qos.local_jitter * 1000.0); + snprintf(buf, buflen, "%.0f", qos.local_jitter * 1000.0); else if (strcasecmp(args.field, "local_count") == 0) snprintf(buf, buflen, "%u", qos.local_count); else if (strcasecmp(args.field, "remote_ssrc") == 0) @@ -15095,11 +15095,11 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char else if (strcasecmp(args.field, "remote_lostpackets") == 0) snprintf(buf, buflen, "%u", qos.remote_lostpackets); else if (strcasecmp(args.field, "remote_jitter") == 0) - snprintf(buf, buflen, "%.0lf", qos.remote_jitter * 1000.0); + snprintf(buf, buflen, "%.0f", qos.remote_jitter * 1000.0); else if (strcasecmp(args.field, "remote_count") == 0) snprintf(buf, buflen, "%u", qos.remote_count); else if (strcasecmp(args.field, "rtt") == 0) - snprintf(buf, buflen, "%.0lf", qos.rtt * 1000.0); + snprintf(buf, buflen, "%.0f", qos.rtt * 1000.0); else if (strcasecmp(args.field, "all") == 0) ast_copy_string(buf, all, buflen); else {