aboutsummaryrefslogtreecommitdiffstats
path: root/main/frame.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 16:41:02 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 16:41:02 +0000
commitaac473afa776c0fc5954e2e77c1e04a4b71d112f (patch)
treec00c08b02894f0bc5391c0e7c7ab0c50a46d3c3c /main/frame.c
parent23364993b6d8380a420001101c356e14899dced7 (diff)
Add a couple more casts so that code compiles correctly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227646 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r--main/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/frame.c b/main/frame.c
index a11644577..1b68140a7 100644
--- a/main/frame.c
+++ b/main/frame.c
@@ -731,7 +731,7 @@ static char *show_codec_n(struct ast_cli_entry *e, int cmd, struct ast_cli_args
if (a->argc != 4)
return CLI_SHOWUSAGE;
- if (sscanf(a->argv[3], "%30Ld", &codec) != 1)
+ if (sscanf(a->argv[3], "%30Ld", (long long *) &codec) != 1)
return CLI_SHOWUSAGE;
for (i = 0; i < 63; i++)
@@ -741,7 +741,7 @@ static char *show_codec_n(struct ast_cli_entry *e, int cmd, struct ast_cli_args
}
if (!found)
- ast_cli(a->fd, "Codec %Ld not found\n", codec);
+ ast_cli(a->fd, "Codec %Ld not found\n", (long long) codec);
return CLI_SUCCESS;
}