diff --git a/src/processors/hybi_legacy.hpp b/src/processors/hybi_legacy.hpp index 6d763538cca..836d0ee727d 100644 --- a/src/processors/hybi_legacy.hpp +++ b/src/processors/hybi_legacy.hpp @@ -199,7 +199,7 @@ class hybi_legacy : public processor_base { 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());