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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Sep 14 17:39:18 CDT 2011


branch "master" has been updated
       via  4c8110ac58ac8632e5021ece81d5235965f98eca (commit)
      from  4bbbb74072c578c15475f874ff4678e853b6e40f (commit)

Summary of changes:
 test/TestMediaOperations.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 4c8110ac58ac8632e5021ece81d5235965f98eca
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Sep 14 17:40:53 2011 -0500

    Add casts to Ice::Int to make GCC 4.5 shut up.

diff --git a/test/TestMediaOperations.cpp b/test/TestMediaOperations.cpp
index f4bec35..7d3d79a 100644
--- a/test/TestMediaOperations.cpp
+++ b/test/TestMediaOperations.cpp
@@ -612,7 +612,7 @@ BOOST_FIXTURE_TEST_CASE(resample8To16, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.slin8->frameSize = Testbed.sampleSlin8FrameSize;
+    Testbed.slin8->frameSize = (Ice::Int) Testbed.sampleSlin8FrameSize;
 
     MediaOperationServiceLocatorParamsPtr eightToSixteenParams = createLocatorParams(Testbed.slin8, Testbed.slin16);
 
@@ -671,7 +671,7 @@ BOOST_FIXTURE_TEST_CASE(resample16To8, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.slin16->frameSize = Testbed.sampleSlin16FrameSize;
+    Testbed.slin16->frameSize = (Ice::Int) Testbed.sampleSlin16FrameSize;
 
     MediaOperationServiceLocatorParamsPtr sixteenToEightParams = createLocatorParams(Testbed.slin16, Testbed.slin8);
 
@@ -730,7 +730,7 @@ BOOST_FIXTURE_TEST_CASE(slin8toG722, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.g722->frameSize = Testbed.sampleG722FrameSize;
+    Testbed.g722->frameSize = (Ice::Int) Testbed.sampleG722FrameSize;
 
     MediaOperationServiceLocatorParamsPtr slinToG722Params = createLocatorParams(Testbed.slin8, Testbed.g722);
 
@@ -789,7 +789,7 @@ BOOST_FIXTURE_TEST_CASE(slin16toG722, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.g722->frameSize = Testbed.sampleG722FrameSize;
+    Testbed.g722->frameSize = (Ice::Int) Testbed.sampleG722FrameSize;
 
     MediaOperationServiceLocatorParamsPtr slinToG722Params = createLocatorParams(Testbed.slin16, Testbed.g722);
 
@@ -848,7 +848,7 @@ BOOST_FIXTURE_TEST_CASE(g722ToSlin8, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.slin8->frameSize = Testbed.sampleSlin8FrameSize;
+    Testbed.slin8->frameSize = (Ice::Int) Testbed.sampleSlin8FrameSize;
 
     MediaOperationServiceLocatorParamsPtr g722ToSlinParams = createLocatorParams(Testbed.g722, Testbed.slin8);
 
@@ -907,7 +907,7 @@ BOOST_FIXTURE_TEST_CASE(g722ToSlin16, PerTestFixture)
 
     //For this test, we have to base the resultant frame on the size of the input frame.
 
-    Testbed.slin16->frameSize = Testbed.sampleSlin16FrameSize;
+    Testbed.slin16->frameSize = (Ice::Int) Testbed.sampleSlin16FrameSize;
 
     MediaOperationServiceLocatorParamsPtr g722ToSlinParams = createLocatorParams(Testbed.g722, Testbed.slin16);
 

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


-- 
asterisk-scf/release/media_operations_core.git



More information about the asterisk-scf-commits mailing list