[Scummvm-cvs-logs] SF.net SVN: scummvm: [30842] scummvm/trunk/graphics/surface.h
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sun Feb 10 00:31:05 CET 2008
Revision: 30842
http://scummvm.svn.sourceforge.net/scummvm/?rev=30842&view=rev
Author: peres001
Date: 2008-02-09 15:31:04 -0800 (Sat, 09 Feb 2008)
Log Message:
-----------
Reordered initialization list for Graphics::Surface to kill tons of warnings gcc started spewing out after robiwatts changed the order of data members for benefit of ARM.
Modified Paths:
--------------
scummvm/trunk/graphics/surface.h
Modified: scummvm/trunk/graphics/surface.h
===================================================================
--- scummvm/trunk/graphics/surface.h 2008-02-09 23:26:45 UTC (rev 30841)
+++ scummvm/trunk/graphics/surface.h 2008-02-09 23:31:04 UTC (rev 30842)
@@ -45,7 +45,7 @@
uint16 pitch;
void *pixels;
uint8 bytesPerPixel;
- Surface() : pixels(0), w(0), h(0), pitch(0), bytesPerPixel(0) {}
+ Surface() : w(0), h(0), pitch(0), pixels(0), bytesPerPixel(0) {}
inline const void *getBasePtr(int x, int y) const {
// SumthinWicked says: I was getting a typecast error here from GCC/UIQ: might need an #ifdef __SYMBIAN32__
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