Skip to content

Commit 078345e

Browse files
committed
Fixing gcc build.
1 parent 2d5d246 commit 078345e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorials/tutorial27/src/ClientSession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ std::size_t ClientSession::processInputSub1(const std::uint8_t* buf, std::size_t
5050
{
5151
assert(m_sub1Msg);
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_sub1Frame, *m_sub1Msg, *this);
5656
if (es != comms::ErrorStatus::Success) {

tutorials/tutorial27/src/ServerSession.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ std::size_t ServerSession::processInputSub1(const std::uint8_t* buf, std::size_t
127127
{
128128
assert(m_sub1Msg);
129129
auto* prev = buf;
130-
auto consumed = 0U;
130+
std::size_t consumed = 0U;
131131
while ((consumed < bufLen) && (m_protStage == ProtStage_sub1)) {
132132
auto es = comms::processSingleWithDispatch(buf, bufLen, m_sub1Frame, *m_sub1Msg, *this);
133133
if (es != comms::ErrorStatus::Success) {

0 commit comments

Comments
 (0)