Skip to content

Commit

Permalink
Update NetConnection.cpp
Browse files Browse the repository at this point in the history
fix for e2k compiler.
  • Loading branch information
DJs3000 authored Aug 18, 2024
1 parent 184cdc2 commit 4248ca7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Network/NetConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ int32_t NetConnection::send(const XBuffer* data, NETID source, NETID destination
header |= (static_cast<uint64_t>(flags & 0xFFFF) << 8);
header |= (static_cast<uint64_t>(body_len & 0xFFFFFFFF) << 24);
XBuffer xbuf(msg_size);
xbuf < SDL_SwapBE64(header);
xbuf < SDL_SwapBE64(source);
xbuf < SDL_SwapBE64(destination);
xbuf < (uint64_t) SDL_SwapBE64(header);
xbuf < (uint64_t) SDL_SwapBE64(source);
xbuf < (uint64_t) SDL_SwapBE64(destination);
xbuf.write(sending_buffer, sending_buffer.tell());

#ifdef PERIMETER_DEBUG
Expand Down

0 comments on commit 4248ca7

Please sign in to comment.