diff --git a/websocketpp/processors/hybi00.hpp b/websocketpp/processors/hybi00.hpp index 0024355910..227f1c5b9e 100644 --- a/websocketpp/processors/hybi00.hpp +++ b/websocketpp/processors/hybi00.hpp @@ -67,7 +67,7 @@ public: explicit hybi00(bool secure, bool server, msg_manager_ptr manager) : processor(secure, server) , msg_hdr(0x00) - , msg_ftr(static_cast(0xff)) + , msg_ftr(reinterpret_cast(0xff)) , m_state(HEADER) , m_msg_manager(manager) {}