From 618d1ef698da11bfd2f77849f542dabb0ac6dbb3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 23 Jan 2007 22:40:01 +0000 Subject: [PATCH] who thought tolower should return int?? git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4047 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 95f646c756..f2a077b55e 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -1502,7 +1502,7 @@ static switch_status_t do_flags(char **argv, int argc, switch_stream_handle_t *s for (x = 1; x < argc; x++) { flag_str = argv[x]; for(p = flag_str; *p; p++) { - *p = tolower(*p); + *p = (char)tolower(*p); } if (strstr(flag_str, "ear")) {