CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/19 20:22:43
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&r1=1.4038&r2=1.4039 http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.cpp?cvsroot=gnash&r1=1.10&r2=1.11 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4038 retrieving revision 1.4039 diff -u -b -r1.4038 -r1.4039 --- ChangeLog 19 Aug 2007 20:07:41 -0000 1.4038 +++ ChangeLog 19 Aug 2007 20:22:43 -0000 1.4039 @@ -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.10 retrieving revision 1.11 diff -u -b -r1.10 -r1.11 --- server/FreetypeGlyphsProvider.cpp 10 Aug 2007 21:28:50 -0000 1.10 +++ server/FreetypeGlyphsProvider.cpp 19 Aug 2007 20:22:43 -0000 1.11 @@ -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