diff --git a/src/client/guiscalingfilter.cpp b/src/client/guiscalingfilter.cpp index dd65d1bea..b733b76c9 100644 --- a/src/client/guiscalingfilter.cpp +++ b/src/client/guiscalingfilter.cpp @@ -129,7 +129,7 @@ video::ITexture *guiScalingResizeCached(video::IVideoDriver *driver, #endif // Convert the scaled image back into a texture. - scaled = driver->addTexture(scalename, destimg, NULL); + scaled = driver->addTexture(scalename, destimg, NULL); // irr 1.8 destimg->drop(); g_txrCache[scalename] = scaled; diff --git a/src/terminal_chat_console.cpp b/src/terminal_chat_console.cpp index 80667592e..eac0044af 100644 --- a/src/terminal_chat_console.cpp +++ b/src/terminal_chat_console.cpp @@ -398,7 +398,7 @@ void TerminalChatConsole::step(int ch) minutes = (float)minutes / 1000 * 60; if (m_game_time) - printw(" | Game %d Time of day %02d:%02d ", + printw(" | Game %ld Time of day %02d:%02d ", m_game_time, hours, minutes); // draw text