mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
fix compile warning
This commit is contained in:
parent
d3d02b19fd
commit
829c5ccea4
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ Core::Network::Packets::GamePacket::~GamePacket()
|
||||||
void Core::Network::Packets::GamePacket::savePacket()
|
void Core::Network::Packets::GamePacket::savePacket()
|
||||||
{
|
{
|
||||||
char filename[20];
|
char filename[20];
|
||||||
sprintf( filename, "dump_0x%x_%i.dat", m_subType, Util::getTimeMs() );
|
sprintf( filename, "dump_0x%x_%li.dat", m_subType, Util::getTimeMs() );
|
||||||
FILE * fp = nullptr;
|
FILE* fp = nullptr;
|
||||||
fp = fopen( filename, "wb" );
|
fp = fopen( filename, "wb" );
|
||||||
fwrite( &m_dataBuf[0], 1, m_segHdr.size, fp );
|
fwrite( &m_dataBuf[0], 1, m_segHdr.size, fp );
|
||||||
fclose( fp );
|
fclose( fp );
|
||||||
|
|
Loading…
Add table
Reference in a new issue