diff options
author | Nicola Mettifogo | 2008-02-09 23:31:04 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-02-09 23:31:04 +0000 |
commit | bd4a2f721ef08f7fbf71c6048252e50121544425 (patch) | |
tree | b21bbaef3ccf7ce8aa6161d1fc6e8ea5fb3ecb32 /graphics/surface.h | |
parent | 435c437f6d118842ded3a0020168a1080ea2d0c9 (diff) | |
download | scummvm-rg350-bd4a2f721ef08f7fbf71c6048252e50121544425.tar.gz scummvm-rg350-bd4a2f721ef08f7fbf71c6048252e50121544425.tar.bz2 scummvm-rg350-bd4a2f721ef08f7fbf71c6048252e50121544425.zip |
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.
svn-id: r30842
Diffstat (limited to 'graphics/surface.h')
-rw-r--r-- | graphics/surface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/surface.h b/graphics/surface.h index 43977d024d..ff1ddda695 100644 --- a/graphics/surface.h +++ b/graphics/surface.h @@ -45,7 +45,7 @@ struct Surface { 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__ |