From 95c89f3edc36c715a57e2b497e7526970eff42b2 Mon Sep 17 00:00:00 2001 From: Kimmo Hoikka Date: Thu, 24 Nov 2016 15:34:19 +0000 Subject: [PATCH] Fix compilation error with older versions of freetype where width and rows are int rather than unsigned int Change-Id: Ie543aada36b6e7c693e3f7d0a9aa413eff614b37 --- text/dali/internal/text-abstraction/font-client-plugin-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp b/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp index 3fede0a..1d4a3ef 100644 --- a/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp +++ b/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp @@ -1323,7 +1323,7 @@ FontId FontClient::Plugin::CreateFont( const FontPath& path, void FontClient::Plugin::ConvertBitmap( TextAbstraction::FontClient::GlyphBufferData& data, FT_Bitmap srcBitmap ) { - if( srcBitmap.width*srcBitmap.rows > 0u ) + if( srcBitmap.width*srcBitmap.rows > 0 ) { switch( srcBitmap.pixel_mode ) { -- 2.7.4