]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
who thought tolower should return int??
authorMichael Jerris <mike@jerris.com>
Tue, 23 Jan 2007 22:40:01 +0000 (22:40 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 23 Jan 2007 22:40:01 +0000 (22:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4047 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index 95f646c7561d74ec03b81000ad58912d094352c1..f2a077b55ec3341b478e91820072f58301bdec96 100644 (file)
@@ -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")) {