mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
fix msvc builds and cleanup some warnings
This commit is contained in:
parent
da8b86b1a0
commit
0aba5c8d2d
4 changed files with 5 additions and 2 deletions
|
@ -169,7 +169,7 @@ namespace Sapphire::Network::Packets
|
|||
|
||||
// Set the values of static fields.
|
||||
// The size must be the sum of the segment header and the content
|
||||
m_segHdr.size = sizeof( FFXIVARR_PACKET_SEGMENT_HEADER ) + getContentSize();
|
||||
m_segHdr.size = static_cast< uint32_t >( sizeof( FFXIVARR_PACKET_SEGMENT_HEADER ) + getContentSize() );
|
||||
m_segHdr.type = getSegmentType();
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ void Sapphire::Network::Packets::PacketContainer::addPacket( Sapphire::Network::
|
|||
{
|
||||
m_entryList.push_back( entry );
|
||||
|
||||
m_ipcHdr.size += entry->getSize();
|
||||
m_ipcHdr.size += static_cast< uint32_t >( entry->getSize() );
|
||||
m_ipcHdr.count++;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Territory/HousingZone.h"
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
#include <array>
|
||||
|
||||
namespace Sapphire::Data
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "Zone.h"
|
||||
#include "Forwards.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
namespace Sapphire
|
||||
{
|
||||
enum class LandPurchaseResult
|
||||
|
|
Loading…
Add table
Reference in a new issue