From 9fe21fcd8883b37bdc30224822e6e42afb35b8f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 16:18:13 +0300 Subject: Replace most static_cast to shorter versions from defines. --- src/dyetool/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dyetool/client.cpp') diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index 8812b770b..fa4924df6 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -304,7 +304,7 @@ void Client::gameInit() SDL_initFramerate(&fpsManager); WindowManager::setFramerate(fpsLimit); - start_time = static_cast(time(nullptr)); + start_time = CAST_S32(time(nullptr)); // PlayerInfo::init(); @@ -513,7 +513,7 @@ int Client::gameExec() BLOCK_START("Client::gameExec 4") if (gui) gui->logic(); - cur_time = static_cast(time(nullptr)); + cur_time = CAST_S32(time(nullptr)); int k = 0; while (lastTickTime != tick_time && k < 40) { -- cgit v1.2.3-70-g09d2