From bd4a2f721ef08f7fbf71c6048252e50121544425 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sat, 9 Feb 2008 23:31:04 +0000 Subject: 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 --- graphics/surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/surface.h') 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__ -- cgit v1.2.3