-Werror cleanup, don't try to free const variables...

svn-id: r9808
This commit is contained in:
Jonathan Gray 2003-08-21 14:58:47 +00:00
parent ce42f4d3dd
commit a51be5d39e
2 changed files with 1 additions and 2 deletions

View File

@ -238,7 +238,6 @@ int main(int argc, char *argv[]) {
// ...and quit (the return 0 should never be reached)
system->quit();
delete system;
free((void *)version_settings); // allocated in GameDetector
return 0;
}

View File

@ -295,7 +295,7 @@ void DrawMouse(void) {
mouse_width += deltaX;
mouse_height += deltaY;
if (mouse_width * mouse_height > sizeof(_mouseData)) {
if ((uint32)(mouse_width * mouse_height) > sizeof(_mouseData)) {
warning("Mouse cursor too large");
return;
}