CVSROOT: /sources/gnash Module name: gnash Branch: release_0_8_1 Changes by: Sandro Santilli <strk> 07/08/19 20:22:34
Modified files: . : ChangeLog server : FreetypeGlyphsProvider.cpp Log message: * server/FreetypeGlyphsProvider.cpp: remove compiler warnings. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.3971.2.39&r2=1.3971.2.40 http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.cpp?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.7.2.3&r2=1.7.2.4 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3971.2.39 retrieving revision 1.3971.2.40 diff -u -b -r1.3971.2.39 -r1.3971.2.40 --- ChangeLog 19 Aug 2007 20:22:02 -0000 1.3971.2.39 +++ ChangeLog 19 Aug 2007 20:22:33 -0000 1.3971.2.40 @@ -1,5 +1,6 @@ 2007-08-19 Sandro Santilli <[EMAIL PROTECTED]> + * server/FreetypeGlyphsProvider.cpp: remove compiler warnings. * doc/C/usermanual/usage/gnashrc.xml: document flashVersionString variable. Index: server/FreetypeGlyphsProvider.cpp =================================================================== RCS file: /sources/gnash/gnash/server/FreetypeGlyphsProvider.cpp,v retrieving revision 1.7.2.3 retrieving revision 1.7.2.4 diff -u -b -r1.7.2.3 -r1.7.2.4 --- server/FreetypeGlyphsProvider.cpp 10 Aug 2007 21:28:44 -0000 1.7.2.3 +++ server/FreetypeGlyphsProvider.cpp 19 Aug 2007 20:22:34 -0000 1.7.2.4 @@ -412,7 +412,10 @@ { unsigned long gf = m_face->glyph->format; log_unimpl("FT_Load_Char() returned a glyph format != FT_GLYPH_FORMAT_OUTLINE (%c%c%c%c)", - (gf>>24)&0xff, (gf>>16)&0xff, (gf>>8)&0xff, gf&0xff); + static_cast<char>((gf>>24)&0xff), + static_cast<char>((gf>>16)&0xff), + static_cast<char>((gf>>8)&0xff), + static_cast<char>(gf&0xff)); return 0; } //assert(m_face->glyph->format == FT_GLYPH_FORMAT_OUTLINE); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit