git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
99bf49d
)
C-style pointer cast replaced with normal static_cast
author
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 7 Feb 2012 10:30:34 +0000
(12:30 +0200)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 7 Feb 2012 10:30:34 +0000
(12:30 +0200)
projects/stargazer/users_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/users_impl.cpp
b/projects/stargazer/users_impl.cpp
index 61ee90ff7e0ad6379f2f9faed6a3d1c7c4c10d74..fc2b8d2fcdc4f5889793658d0373718c5bb7fc21 100644
(file)
--- 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());
pthread_sigmask(SIG_BLOCK, &signalSet, NULL);
printfd(__FILE__, "=====================| pid: %d |===================== \n", getpid());
-USERS_IMPL * us =
(USERS_IMPL*) d
;
+USERS_IMPL * us =
static_cast<USERS_IMPL *>(d)
;
struct tm t;
time_t tt = stgTime;
struct tm t;
time_t tt = stgTime;