diff options
author | Eugene Sandulenko | 2017-03-13 08:59:10 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-13 08:59:10 +0100 |
commit | 1ffb66185300f9e46d23225dc336160a758a18cb (patch) | |
tree | 3b8e4da89348c66363aceab00a94bca0c557fef4 | |
parent | a9d60aeb9972844ab15a85b45ef9ac29b6ad17da (diff) | |
download | scummvm-rg350-1ffb66185300f9e46d23225dc336160a758a18cb.tar.gz scummvm-rg350-1ffb66185300f9e46d23225dc336160a758a18cb.tar.bz2 scummvm-rg350-1ffb66185300f9e46d23225dc336160a758a18cb.zip |
GUI: Fix warnings
-rw-r--r-- | gui/gui-manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp index feb4e50ce2..43e3fa378d 100644 --- a/gui/gui-manager.cpp +++ b/gui/gui-manager.cpp @@ -255,7 +255,7 @@ Dialog *GuiManager::getTopDialog() const { } void GuiManager::addToTrash(GuiObject* object, Dialog* parent) { - debug(7, "Adding Gui Object %p to trash", object); + debug(7, "Adding Gui Object %p to trash", (void *)object); GuiObjectTrashItem t; t.object = object; t.parent = 0; @@ -362,7 +362,7 @@ void GuiManager::runLoop() { Common::List<GuiObjectTrashItem>::iterator it = _guiObjectTrash.begin(); while (it != _guiObjectTrash.end()) { if ((*it).parent == 0 || (*it).parent == activeDialog) { - debug(7, "Delayed deletion of Gui Object %p", (*it).object); + debug(7, "Delayed deletion of Gui Object %p", (void *)(*it).object); delete (*it).object; it = _guiObjectTrash.erase(it); } else |