[Scummvm-cvs-logs] SF.net SVN: scummvm:[44877] scummvm/trunk/backends/platform/dc/display.cpp

marcus_c at users.sourceforge.net marcus_c at users.sourceforge.net
Sat Oct 10 16:55:57 CEST 2009


Revision: 44877
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44877&view=rev
Author:   marcus_c
Date:     2009-10-10 14:55:56 +0000 (Sat, 10 Oct 2009)

Log Message:
-----------
Fixed some warnings.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/dc/display.cpp

Modified: scummvm/trunk/backends/platform/dc/display.cpp
===================================================================
--- scummvm/trunk/backends/platform/dc/display.cpp	2009-10-10 14:31:16 UTC (rev 44876)
+++ scummvm/trunk/backends/platform/dc/display.cpp	2009-10-10 14:55:56 UTC (rev 44877)
@@ -202,7 +202,7 @@
 Common::List<Graphics::PixelFormat> OSystem_Dreamcast::getSupportedFormats()
 {
   Common::List<Graphics::PixelFormat> list;
-  int i;
+  unsigned i;
   for (i=0; i<NUM_FORMATS; i++)
     list.push_front(screenFormats[i]);
   return list;
@@ -248,13 +248,13 @@
     screen = new unsigned char[SCREEN_W*SCREEN_H*2];
   if (!overlay)
     overlay = new unsigned short[OVL_W*OVL_H];
-  for (int i=0; i<NUM_BUFFERS; i++)
+  for (i=0; i<NUM_BUFFERS; i++)
     if (!screen_tx[i])
       screen_tx[i] = ta_txalloc(SCREEN_W*SCREEN_H*2);
-  for (int i=0; i<NUM_BUFFERS; i++)
+  for (i=0; i<NUM_BUFFERS; i++)
     if (!mouse_tx[i])
       mouse_tx[i] = ta_txalloc(MOUSE_W*MOUSE_H*2);
-  for (int i=0; i<NUM_BUFFERS; i++)
+  for (i=0; i<NUM_BUFFERS; i++)
     if (!ovl_tx[i])
       ovl_tx[i] = ta_txalloc(OVL_TXSTRIDE*OVL_H*2);
   _screen_buffer = 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list