gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/font.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog server/font.cpp
Date: Mon, 24 Mar 2008 00:53:51 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  08/03/24 00:53:51

Modified files:
        .              : ChangeLog 
        server         : font.cpp 

Log message:
        compare with same type.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6017&r2=1.6018
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.60&r2=1.61

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6017
retrieving revision 1.6018
diff -u -b -r1.6017 -r1.6018
--- ChangeLog   24 Mar 2008 00:40:46 -0000      1.6017
+++ ChangeLog   24 Mar 2008 00:53:50 -0000      1.6018
@@ -8,6 +8,7 @@
        * libbase/sharedlib.cpp, plugins/plugin.cpp: declared char* as 
          const char*.
        * plugins/plugin.cpp: compare result of getenv() with NULL.
+       * server/font.cpp: compare with same type.
 
 2008-03-22  Dossy Shiobara <address@hidden>
 

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- server/font.cpp     14 Mar 2008 12:21:44 -0000      1.60
+++ server/font.cpp     24 Mar 2008 00:53:51 -0000      1.61
@@ -333,7 +333,7 @@
                        // Advance table; i.e. how wide each character is.
                        size_t nGlyphs = _embedGlyphTable.size();
                        in->ensureBytes(nGlyphs*2);
-                       for (int i = 0; i < nGlyphs; i++)
+                       for (size_t i = 0; i < nGlyphs; i++)
                        {
                                _embedGlyphTable[i].advance = (float) 
in->read_s16();
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]