does away with VC++ warning: C4309 - truncation of constant value

This commit is contained in:
Tobias Oberstein
2012-07-18 14:09:39 +02:00
parent 3208b1b493
commit 44bacdb323

View File

@@ -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<size_t>(input.gcount());