From 44bacdb323970c837d4bbdc5665d0654dff182b0 Mon Sep 17 00:00:00 2001 From: Tobias Oberstein Date: Wed, 18 Jul 2012 14:09:39 +0200 Subject: [PATCH] does away with VC++ warning: C4309 - truncation of constant value --- src/processors/hybi_legacy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());