]> git.stg.codes - stg.git/commitdiff
C-style cast replaced with sattic_cast
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Feb 2012 10:35:40 +0000 (12:35 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Feb 2012 10:35:40 +0000 (12:35 +0200)
projects/stargazer/plugins/capture/ether_linux/ether_cap.cpp

index 632c18468f4f670061521f32615f64db8582e375..093aea7231d425d9666a53a63cec3d15d83e637f 100644 (file)
@@ -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