masterfalcon
07-02-2008 16:42:29
QuickGUISkinSet.cpp fails to compile on GCC now.
Changing the aforementioned line from:
to:
fixes it.
Dave
QuickGUISkinSet.cpp:473: error: expression in new-declarator must have integral or enumeration type
Changing the aforementioned line from:
unsigned char *dstData = new unsigned char[imageSize.width * imageSize.height * bpp];
to:
unsigned char *dstData = new unsigned char[(int)(imageSize.width * imageSize.height * bpp)];
fixes it.
Dave