From: Maxim Mamontov <faust.madf@gmail.com>
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?ds=inline;hp=-c

C-style cast replaced with sattic_cast
---

2e6fab3ee7df25d343fb30b006126e7817dfeb12
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<ETHER_CAP *>(d);
 dc->isRunning = true;
 
 struct ETH_IP