From 79a8ef3a60523ccbd2e0714407a209a156c93b2d Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 7 Feb 2012 12:30:34 +0200 Subject: [PATCH 1/1] C-style pointer cast replaced with normal static_cast --- projects/stargazer/users_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.44.2