mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
Some endianess related fixes and cleanups
* Fixed: build fail at bigendian platform in result typo in code * Hide endianess related convertions into EndianConvert/EndianConvertReverse calls * Linkning errors protection from attemps convertion pointers.
This commit is contained in:
parent
89893215e5
commit
51b2290be6
3 changed files with 17 additions and 19 deletions
|
|
@ -22,6 +22,8 @@
|
|||
#include "Common.h"
|
||||
#include "ByteBuffer.h"
|
||||
|
||||
// Note: m_opcode and size stored in platfom dependent format
|
||||
// ignore endianess until send, and converted at receive
|
||||
class WorldPacket : public ByteBuffer
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue