[Scummvm-cvs-logs] SF.net SVN: scummvm:[52790] scummvm/trunk/engines/testbed
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Sep 18 11:52:06 CEST 2010
Revision: 52790
http://scummvm.svn.sourceforge.net/scummvm/?rev=52790&view=rev
Author: thebluegr
Date: 2010-09-18 09:52:05 +0000 (Sat, 18 Sep 2010)
Log Message:
-----------
TESTBED: Fix warnings
Modified Paths:
--------------
scummvm/trunk/engines/testbed/config.cpp
scummvm/trunk/engines/testbed/graphics.cpp
Modified: scummvm/trunk/engines/testbed/config.cpp
===================================================================
--- scummvm/trunk/engines/testbed/config.cpp 2010-09-18 09:47:18 UTC (rev 52789)
+++ scummvm/trunk/engines/testbed/config.cpp 2010-09-18 09:52:05 UTC (rev 52790)
@@ -159,10 +159,7 @@
}
void TestbedInteractionDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
- switch (cmd) {
- default:
- GUI::Dialog::handleCommand(sender, cmd, data);
- }
+ GUI::Dialog::handleCommand(sender, cmd, data);
}
void TestbedConfigManager::initDefaultConfiguration() {
Modified: scummvm/trunk/engines/testbed/graphics.cpp
===================================================================
--- scummvm/trunk/engines/testbed/graphics.cpp 2010-09-18 09:47:18 UTC (rev 52789)
+++ scummvm/trunk/engines/testbed/graphics.cpp 2010-09-18 09:52:05 UTC (rev 52790)
@@ -351,7 +351,7 @@
int width = g_system->getWidth();
int height = Testsuite::getDisplayRegionCoordinates().y;
byte *buffer = new byte[height * width];
- float theta;
+ double theta;
int x, y, x1, y1;
memset(buffer, 0, sizeof(byte) * width * height);
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