[Freeswitch-svn] [commit] r4047 - freeswitch/trunk/src/mod/endpoints/mod_portaudio

Freeswitch SVN mikej at freeswitch.org
Tue Jan 23 17:40:02 EST 2007


Author: mikej
Date: Tue Jan 23 17:40:01 2007
New Revision: 4047

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c

Log:
who thought tolower should return int??

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	Tue Jan 23 17:40:01 2007
@@ -1502,7 +1502,7 @@
     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")) {



More information about the Freeswitch-svn mailing list