diff options
author | ShadowNinja <shadowninja@minetest.net> | 2021-12-01 18:30:40 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-04-08 14:55:21 +0100 |
commit | 5683bb76cc3a60d952c9f58c41adaa5f195dd3f4 (patch) | |
tree | 86154779a5a23b1385a8e6872a7c3d79da51847d /src/terminal_chat_console.cpp | |
parent | 3a87fab6c899afa50b2b7615b882d0a81b922832 (diff) | |
download | minetest-5683bb76cc3a60d952c9f58c41adaa5f195dd3f4.tar.xz |
Fix compiler warnings
Diffstat (limited to 'src/terminal_chat_console.cpp')
-rw-r--r-- | src/terminal_chat_console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal_chat_console.cpp b/src/terminal_chat_console.cpp index 9e3d33736..b12261c3b 100644 --- a/src/terminal_chat_console.cpp +++ b/src/terminal_chat_console.cpp @@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <inttypes.h> #include "config.h" #if USE_CURSES #include "version.h" @@ -398,7 +399,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 %" PRIu64 " Time of day %02d:%02d ", m_game_time, hours, minutes); // draw text |