X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..37324ea9b8c06d96b9383be993da02a01f103253:/projects/stargazer/plugins/other/smux/handlers.cpp?ds=inline

diff --git a/projects/stargazer/plugins/other/smux/handlers.cpp b/projects/stargazer/plugins/other/smux/handlers.cpp
index ac179da9..a3e06138 100644
--- a/projects/stargazer/plugins/other/smux/handlers.cpp
+++ b/projects/stargazer/plugins/other/smux/handlers.cpp
@@ -1,14 +1,19 @@
-#include <cassert>
+#include "smux.h"
+#include "utils.h"
+
+#include "stg/common.h"
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
 #include "stg/GetRequest-PDU.h"
 #include "stg/GetResponse-PDU.h"
 #include "stg/VarBindList.h"
 #include "stg/VarBind.h"
+#pragma GCC diagnostic pop
 
-#include "stg/common.h"
+#include <cassert>
 
-#include "utils.h"
-#include "smux.h"
+using STG::SMUX;
 
 #ifdef SMUX_DEBUG
 bool SMUX::CloseHandler(const SMUX_PDUs_t * pdus)