Skip to content

Commit c404cd6

Browse files
committed
Fixing gcc build.
1 parent 053304c commit c404cd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorials/tutorial26/src/ClientSession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ std::size_t ClientSession::processInputImpl(const std::uint8_t* buf, std::size_t
2828

2929
assert(m_msg);
3030
auto* prev = buf;
31-
auto consumed = 0U;
31+
std::size_t consumed = 0U;
3232
while (consumed < bufLen) {
3333
auto es = comms::processSingleWithDispatch(buf, bufLen, m_frame, *m_msg, *this);
3434
if (es != comms::ErrorStatus::Success) {

tutorials/tutorial26/src/ServerSession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ std::size_t ServerSession::processInputImpl(const std::uint8_t* buf, std::size_t
5050

5151
assert(m_msg);
5252
auto* prev = buf;
53-
auto consumed = 0U;
53+
std::size_t consumed = 0U;
5454
while (consumed < bufLen) {
5555
auto es = comms::processSingleWithDispatch(buf, bufLen, m_frame, *m_msg, *this);
5656
if (es != comms::ErrorStatus::Success) {

0 commit comments

Comments
 (0)