[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 27 09:59:57 CDT 2011


branch "master" has been updated
       via  e69370e381c2150f3232f56febc064955168a202 (commit)
      from  3241620d2b89476fe1908c6e0bbe9a30b2c6d274 (commit)

Summary of changes:
 server/test/ConfigurationTest.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit e69370e381c2150f3232f56febc064955168a202
Author: Fred Anderson <fanderson at digium.com>
Date:   Wed Apr 27 09:59:20 2011 -0500

    Fixed compiler warnings

diff --git a/server/test/ConfigurationTest.cpp b/server/test/ConfigurationTest.cpp
index 48bb562..08a7dce 100644
--- a/server/test/ConfigurationTest.cpp
+++ b/server/test/ConfigurationTest.cpp
@@ -20,6 +20,7 @@
 #include <boost/test/unit_test.hpp>
 #include <boost/test/debug.hpp>
 #include <boost/shared_ptr.hpp>
+#include <boost/lexical_cast.hpp>
 
 #include <Ice/Ice.h>
 #include <IceBox/IceBox.h>
@@ -59,7 +60,7 @@ public:
         // null terminated list
         argv.push_back((const char *) 0);
     
-        mCachedArgs.argc = argv.size() - 1;
+        mCachedArgs.argc = boost::lexical_cast<int>(argv.size()) - 1;
         mCachedArgs.argv = (char**)&argv[0];
         mCachedArgs.inheritedProps = communicator->getProperties();
     
@@ -229,7 +230,7 @@ BOOST_AUTO_TEST_CASE(PurposefulSerialConflict)
 
 extern "C"
 {
-ASTERISK_SCF_ICEBOX_EXPORT IceBox::Service* create(Ice::CommunicatorPtr communicator)
+ASTERISK_SCF_ICEBOX_EXPORT IceBox::Service* create(Ice::CommunicatorPtr)
 {
     return new LoggerConfigurationTest;
 }

-----------------------------------------------------------------------


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list