diff --git a/src/processors/hybi_legacy.hpp b/src/processors/hybi_legacy.hpp index 6d763538cc..836d0ee727 100644 --- a/src/processors/hybi_legacy.hpp +++ b/src/processors/hybi_legacy.hpp @@ -199,7 +199,7 @@ public: if (m_data_message) { size_t num; - input.get(m_payload_buffer, PAYLOAD_BUFFER_SIZE, 0xFF); + input.get(m_payload_buffer, PAYLOAD_BUFFER_SIZE, '\xFF'); num = static_cast(input.gcount());