summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
-rw-r--r--src/net/eathena/protocolout.h2
-rw-r--r--src/net/eathena/updateprotocol.cpp2
-rw-r--r--src/net/eathena/updateprotocol.h2
4 files changed, 3 insertions, 5 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index b832c167e..1b781c3be 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -129,7 +129,7 @@ void InventoryHandler::moveItem2(const int source,
const int amount,
const int destination) const
{
- int16_t packet = 0;
+ int packet = 0;
int offset = INVENTORY_OFFSET;
if (source == InventoryType::INVENTORY)
{
diff --git a/src/net/eathena/protocolout.h b/src/net/eathena/protocolout.h
index 571edfccf..502beede5 100644
--- a/src/net/eathena/protocolout.h
+++ b/src/net/eathena/protocolout.h
@@ -26,7 +26,7 @@
namespace EAthena
{
#include "net/eathena/packetsout.inc"
-} // namespace Eathena
+} // namespace EAthena
#undef packet
#undef packet2
diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp
index 1d704adfe..34b8713c5 100644
--- a/src/net/eathena/updateprotocol.cpp
+++ b/src/net/eathena/updateprotocol.cpp
@@ -20,8 +20,6 @@
#include "net/eathena/updateprotocol.h"
-#include "logger.h"
-
#include "net/eathena/network.h"
#include "net/eathena/protocolout.h"
diff --git a/src/net/eathena/updateprotocol.h b/src/net/eathena/updateprotocol.h
index e2d4e585f..d60af6985 100644
--- a/src/net/eathena/updateprotocol.h
+++ b/src/net/eathena/updateprotocol.h
@@ -24,6 +24,6 @@
namespace EAthena
{
void updateProtocol();
-} // namespace Eathena
+} // namespace EAthena
#endif // NET_EATHENA_UPDATEPROTOCOL_H