From: Maxim Mamontov Date: Tue, 7 Feb 2012 10:30:34 +0000 (+0200) Subject: C-style pointer cast replaced with normal static_cast X-Git-Tag: 2.408~8 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/79a8ef3a60523ccbd2e0714407a209a156c93b2d?ds=sidebyside;hp=99bf49d004d759cde799ceaa52a5b86e18d5362c C-style pointer cast replaced with normal static_cast --- diff --git a/projects/stargazer/users_impl.cpp b/projects/stargazer/users_impl.cpp index 61ee90ff..fc2b8d2f 100644 --- a/projects/stargazer/users_impl.cpp +++ b/projects/stargazer/users_impl.cpp @@ -359,7 +359,7 @@ sigfillset(&signalSet); pthread_sigmask(SIG_BLOCK, &signalSet, NULL); printfd(__FILE__, "=====================| pid: %d |===================== \n", getpid()); -USERS_IMPL * us = (USERS_IMPL*) d; +USERS_IMPL * us = static_cast(d); struct tm t; time_t tt = stgTime;