summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-06 12:07:33 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-06 12:07:33 +0000
commit79ffd047fff7317d902d2120d80a2b45ac766d77 (patch)
treee1b473df14a929a2f00747f5e278f1233810bed1 /apps/talk.c
parent661311256a3d3bc81faa2409823338d85571ab59 (diff)
downloadrockbox-79ffd047fff7317d902d2120d80a2b45ac766d77.tar.gz
rockbox-79ffd047fff7317d902d2120d80a2b45ac766d77.tar.bz2
rockbox-79ffd047fff7317d902d2120d80a2b45ac766d77.zip
Fix warning and typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c
index b9bfdc82ac..c264bd7179 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -778,7 +778,7 @@ void talk_buffer_steal(void)
int talk_id(int32_t id, bool enqueue)
{
long clipsize;
- size_t temp = talk_get_buffer();
+ int temp = talk_get_buffer();
unsigned char* clipbuf;
int32_t unit;
int decimals;
@@ -792,7 +792,7 @@ int talk_id(int32_t id, bool enqueue)
/* try to get audio buffer until talkbuf_init() is called */
if (!voicebuf)
- voicebuf = audio_get_buffer(true, &temp);
+ voicebuf = audio_get_buffer(true, (size_t*)&temp);
if (p_voicefile == NULL && has_voicefile)
load_voicefile(false, voicebuf, MIN(talk_get_buffer(),temp)); /* reload needed */