summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/npchandler.cpp2
-rw-r--r--src/net/tmwa/playerhandler.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 895468b4b..197661d08 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -207,7 +207,7 @@ void ChatHandler::processRaw(MessageOut &restrict outMsg,
if (line.size() < 2)
return;
- int i = parseNumber(line.substr(1));
+ const uint32_t i = parseNumber(line.substr(1));
switch (tolower(line[0]))
{
case 'b':
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index b70d1d8b2..0e2701f44 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -343,7 +343,7 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg)
void NpcHandler::processChangeTitle(Net::MessageIn &msg)
{
- const int npcId = getNpc(msg);
+ getNpc(msg);
mRequestLang = false;
const std::string str = msg.readString();
if (mDialog)
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 8d86a88a7..44fe8836c 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -247,7 +247,7 @@ void PlayerHandler::removeOption() const
{
}
-void PlayerHandler::changeCart(const int type) const
+void PlayerHandler::changeCart(const int type A_UNUSED) const
{
}