Skip to content

Commit

Permalink
does away with VC++ warning: C4309 - truncation of constant value
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Oberstein committed Jul 18, 2012
1 parent 3208b1b commit 44bacdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/hybi_legacy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t>(input.gcount());

Expand Down

0 comments on commit 44bacdb

Please sign in to comment.