summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/messagein.cpp6
-rw-r--r--src/net/messagein.cpp4
-rw-r--r--src/net/messageout.cpp2
-rw-r--r--src/net/tmwa/messagein.cpp6
4 files changed, 9 insertions, 9 deletions
diff --git a/src/net/eathena/messagein.cpp b/src/net/eathena/messagein.cpp
index 49e320aa7..f0715e5cb 100644
--- a/src/net/eathena/messagein.cpp
+++ b/src/net/eathena/messagein.cpp
@@ -79,7 +79,7 @@ int16_t MessageIn::readInt16(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int16_t));
#endif
}
- DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
static_cast<uint16_t>(value))),
mPos, str);
mPos += 2;
@@ -100,7 +100,7 @@ int32_t MessageIn::readInt32(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int32_t));
#endif
}
- DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 4;
PacketCounters::incInBytes(4);
@@ -120,7 +120,7 @@ int64_t MessageIn::readInt64(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int64_t));
#endif
}
- DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 8;
PacketCounters::incInBytes(8);
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index 79e506715..dee3c2c64 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -73,7 +73,7 @@ unsigned char MessageIn::readUInt8(const char *const str)
if (mPos < mLength)
value = static_cast<unsigned char>(mData[mPos]);
- DEBUGLOG2("readUInt8: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readUInt8: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 1;
PacketCounters::incInBytes(1);
@@ -86,7 +86,7 @@ signed char MessageIn::readInt8(const char *const str)
if (mPos < mLength)
value = static_cast<signed char>(mData[mPos]);
- DEBUGLOG2("readInt8: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("readInt8: " + toStringPrint(static_cast<unsigned int>(
static_cast<unsigned char>(value))),
mPos, str);
mPos += 1;
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index 3241ffbfd..807cff66a 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -53,7 +53,7 @@ void MessageOut::writeInt8(const int8_t value, const char *const str)
{
expand(1);
mData[mPos] = value;
- DEBUGLOG2("writeInt8: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("writeInt8: " + toStringPrint(static_cast<unsigned int>(
static_cast<uint8_t>(value))),
mPos, str);
mPos += 1;
diff --git a/src/net/tmwa/messagein.cpp b/src/net/tmwa/messagein.cpp
index 01956bc3b..660548bd6 100644
--- a/src/net/tmwa/messagein.cpp
+++ b/src/net/tmwa/messagein.cpp
@@ -79,7 +79,7 @@ int16_t MessageIn::readInt16(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int16_t));
#endif
}
- DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
static_cast<uint16_t>(value))),
mPos, str);
mPos += 2;
@@ -100,7 +100,7 @@ int32_t MessageIn::readInt32(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int32_t));
#endif
}
- DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 4;
PacketCounters::incInBytes(4);
@@ -120,7 +120,7 @@ int64_t MessageIn::readInt64(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int64_t));
#endif
}
- DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 8;
PacketCounters::incInBytes(8);