[Freeswitch-svn] [commit] r10781 - freeswitch/trunk/src/mod/endpoints/mod_opal

FreeSWITCH SVN stkn at freeswitch.org
Mon Dec 15 11:46:23 PST 2008


Author: stkn
Date: Mon Dec 15 14:46:22 2008
New Revision: 10781

Log:
Silence GCC-4.2 warning / possible GCC-4.3 error

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp

Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp	Mon Dec 15 14:46:22 2008
@@ -82,7 +82,7 @@
 
     /* Prevent the loading of OPAL codecs via "plug ins", this is a directory
        full of DLLs that will be loaded automatically. */
-    putenv("PTLIBPLUGINDIR=/no/thanks");
+    putenv((char *)"PTLIBPLUGINDIR=/no/thanks");
 
 
     *module_interface = switch_loadable_module_create_module_interface(pool, modname);



More information about the Freeswitch-svn mailing list