summaryrefslogtreecommitdiff
path: root/apps/app_festival.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-06-13 21:25:10 +0000
committerMark Spencer <markster@digium.com>2004-06-13 21:25:10 +0000
commitd208532e6e81c1a25ca1664d9f8d2a2ac3ac145f (patch)
treebd4a3ebe7ebaab440e8bfb5016e2cd306e403300 /apps/app_festival.c
parent800ad7f7278ab8da93429948a152bea2740de077 (diff)
x86-64 compile fixes and cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_festival.c')
-rwxr-xr-xapps/app_festival.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c
index 3076d9a42..c0352cbb2 100755
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -199,7 +199,7 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
needed = f->samples * 2;
if (needed > sizeof(myf.frdata)) {
ast_log(LOG_WARNING, "Only able to deliver %d of %d requested samples\n",
- sizeof(myf.frdata) / 2, needed/2);
+ (int)sizeof(myf.frdata) / 2, needed/2);
needed = sizeof(myf.frdata);
}
res = read(fds[0], myf.frdata, needed);
@@ -374,7 +374,7 @@ static int festival_exec(struct ast_channel *chan, void *vdata)
}
} else {
read(fdesc,&strln,sizeof(int));
- ast_log(LOG_DEBUG,"Cache file exists, strln=%d, strlen=%d\n",strln,strlen((char *)data));
+ ast_log(LOG_DEBUG,"Cache file exists, strln=%d, strlen=%d\n",strln,(int)strlen((char *)data));
if (strlen((char *)data)==strln) {
ast_log(LOG_DEBUG,"Size OK\n");
read(fdesc,&bigstring,strln);