From 3089e7abf74725964b0edaa340818ae489f460f1 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 27 Feb 2006 00:47:58 +0000 Subject: [PATCH] Fix a few signedness issues. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@684 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_ivr.h | 2 +- src/switch_ivr.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/include/switch_ivr.h b/src/include/switch_ivr.h index 559a6c391d..19bdd5bebb 100644 --- a/src/include/switch_ivr.h +++ b/src/include/switch_ivr.h @@ -123,7 +123,7 @@ SWITCH_DECLARE(switch_status) switch_ivr_speak_text(switch_core_session *session char *tts_name, char *voice_name, char *timer_name, - int rate, + unsigned int rate, switch_dtmf_callback_function dtmf_callback, char *text, void *buf, diff --git a/src/switch_ivr.c b/src/switch_ivr.c index a06592ccd2..04f23d5a1e 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -386,7 +386,7 @@ SWITCH_DECLARE(switch_status) switch_ivr_speak_text(switch_core_session *session char *tts_name, char *voice_name, char *timer_name, - int rate, + unsigned int rate, switch_dtmf_callback_function dtmf_callback, char *text, void *buf, @@ -396,7 +396,8 @@ SWITCH_DECLARE(switch_status) switch_ivr_speak_text(switch_core_session *session short abuf[960]; char dtmf[128]; int interval = 0, samples = 0; - size_t len = 0, ilen = 0; + size_t len = 0; + unsigned int ilen = 0; switch_frame write_frame; switch_timer timer; switch_core_thread_session thread_session;