From: Maxim Mamontov Date: Tue, 7 Feb 2012 10:35:40 +0000 (+0200) Subject: C-style cast replaced with sattic_cast X-Git-Tag: 2.408~5 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/2e6fab3ee7df25d343fb30b006126e7817dfeb12?hp=6f32961aa7316bf314ff18f3bc74d77a73c081ca C-style cast replaced with sattic_cast --- diff --git a/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp b/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp index 632c1846..093aea72 100644 --- a/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp +++ b/projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp @@ -154,7 +154,7 @@ sigset_t signalSet; sigfillset(&signalSet); pthread_sigmask(SIG_BLOCK, &signalSet, NULL); -ETHER_CAP * dc = (ETHER_CAP *)d; +ETHER_CAP * dc = static_cast(d); dc->isRunning = true; struct ETH_IP