r21014 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 17 19:19:36 UTC 2016


Author: jghali
Date: Wed Feb 17 19:19:35 2016
New Revision: 21014

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21014
Log:
fix compiler warning

Modified:
    trunk/Scribus/scribus/fonts/sfnt.cpp

Modified: trunk/Scribus/scribus/fonts/sfnt.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21014&path=/trunk/Scribus/scribus/fonts/sfnt.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/sfnt.cpp	(original)
+++ trunk/Scribus/scribus/fonts/sfnt.cpp	Wed Feb 17 19:19:35 2016
@@ -1021,7 +1021,7 @@
 			// Data must be aligned at least on 2 byte boundary, however
 			// a 4-byte alignment is recommended by TTF specs for reasons
 			// related to CPU and efficiency
-			uint targetSize = (destGlyf.size() + 3) & ~3;
+			int targetSize = (destGlyf.size() + 3) & ~3;
 			if (destGlyf.size() < targetSize)
 			{
 				destGlyf.reserve(targetSize);




More information about the scribus-commit mailing list