diff options
author | Duane Bailey <nayryeliab@gmail.com> | 2005-09-22 23:35:09 +0000 |
---|---|---|
committer | Duane Bailey <nayryeliab@gmail.com> | 2005-09-22 23:35:09 +0000 |
commit | 40b485635ebae9e666143d7ab6577bf55cdda950 (patch) | |
tree | 1475f4bfd61892243d22bb18cb2ef1b28e4715aa /src/net/messageout.cpp | |
parent | 6e383d8867081d3ec6b57b4d2f171a4382e83195 (diff) | |
download | mana-40b485635ebae9e666143d7ab6577bf55cdda950.tar.gz mana-40b485635ebae9e666143d7ab6577bf55cdda950.tar.bz2 mana-40b485635ebae9e666143d7ab6577bf55cdda950.tar.xz mana-40b485635ebae9e666143d7ab6577bf55cdda950.zip |
fixed minor bug; changed 16 to 32 (*reminds self to test before committing*)
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index d627d151..00a37b67 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -81,7 +81,7 @@ void MessageOut::writeLong(long value) { expand(mPos + sizeof(long)); #if SDL_BYTEORDER == SDL_BIG_ENDIAN - (*(long *)(mData + mPos)) = SDL_Swap16(value); + (*(long *)(mData + mPos)) = SDL_Swap32(value); #else (*(long *)(mData + mPos)) = value; #endif |