[Scummvm-cvs-logs] CVS: scummvm/gui about.cpp,1.13.2.1,1.13.2.2

Max Horn fingolfin at users.sourceforge.net
Mon Dec 20 14:55:03 CET 2004


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17295

Modified Files:
      Tag: branch-0-7-0
	about.cpp 
Log Message:
cast fix, hopefully this helps PalmOS

Index: about.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/about.cpp,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -d -r1.13.2.1 -r1.13.2.2
--- about.cpp	20 Dec 2004 22:02:30 -0000	1.13.2.1
+++ about.cpp	20 Dec 2004 22:54:21 -0000	1.13.2.2
@@ -239,7 +239,7 @@
 	// Draw text
 	// TODO: Add a "fade" effect for the top/bottom text lines
 	const int firstLine = _scrollPos / _lineHeight;
-	const int lastLine = MIN((uint)(_scrollPos + _h) / _lineHeight + 1, _lines.size());
+	const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size());
 	int y = _y + kYOff - (_scrollPos % _lineHeight);
 
 	for (int line = firstLine; line < lastLine; line++) {





More information about the Scummvm-git-logs mailing list