graphicscomposition/openwfsupport/test/tstreamoperation/tnativestream.cpp
changeset 103 2717213c588a
parent 98 bf7481649c98
child 121 d72fc2aace31
--- a/graphicscomposition/openwfsupport/test/tstreamoperation/tnativestream.cpp	Fri Jun 11 14:58:47 2010 +0300
+++ b/graphicscomposition/openwfsupport/test/tstreamoperation/tnativestream.cpp	Tue Jun 22 15:21:29 2010 +0300
@@ -954,7 +954,7 @@
             
         ASSERT_EQUALS(attWidth, width);
         ASSERT_EQUALS(attHeight, height);
-        ASSERT_EQUALS(attStreamFormat, (TInt32)supportedFormats[x].symbianPixelFormat);
+        ASSERT_EQUALS((TInt32)attStreamFormat, (TInt32)supportedFormats[x].symbianPixelFormat);
         if (BytesPerPixel(supportedFormats[x].symbianPixelFormat) > 0)
             {
             ASSERT_EQUALS(attStreamStride, (streamPixelSize * width));
@@ -4746,7 +4746,7 @@
         
         ASSERT_EQUALS(preFlipWidth, height);
         ASSERT_EQUALS(preFlipHeight, width);
-        ASSERT_EQUALS(preFlipStreamFormat, streamFormat);
+        ASSERT_EQUALS((TInt32)preFlipStreamFormat,(TInt32)streamFormat);
         ASSERT_TRUE(streamStride == halStride);
         ASSERT_EQUALS(preFlipStreamPixelSize, streamPixelSize);