[Libreoffice-commits] core.git: vcl/qa
David Tardon
dtardon at redhat.com
Wed May 6 23:29:22 PDT 2015
vcl/qa/cppunit/graphicfilter/filters-test.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 93d004c544c17521eebfa6e6850dca4b532e904a
Author: David Tardon <dtardon at redhat.com>
Date: Thu May 7 08:27:23 2015 +0200
WaE: format ‘%d’ expects argument of type ‘int’
Change-Id: I1697f563d21c02551088ea1469eb973a6cfc5a10
diff --git a/vcl/qa/cppunit/graphicfilter/filters-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
index 9e5f798..86dafa4 100644
--- a/vcl/qa/cppunit/graphicfilter/filters-test.cxx
+++ b/vcl/qa/cppunit/graphicfilter/filters-test.cxx
@@ -67,7 +67,7 @@ void VclFiltersTest::testScaling()
Bitmap aBitmap( Size( 413, 409 ), 24 );
BitmapEx aBitmapEx( aBitmap );
- fprintf( stderr, "scale with type %d\n", i );
+ fprintf( stderr, "scale with type %d\n", int( i ) );
CPPUNIT_ASSERT( aBitmapEx.Scale( 0.1937046, 0.193154, i ) );
Size aAfter( aBitmapEx.GetSizePixel() );
fprintf( stderr, "size %ld, %ld\n", (long)aAfter.Width(),
More information about the Libreoffice-commits
mailing list