diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-09-14 12:49:59 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-09-14 12:49:59 +0000 |
commit | 02327e5272b8d9a7d60fb4147e0bb2db68736f23 (patch) | |
tree | d4582bf5f1b94e8e84a7d67801c210e94a01b69d /games/xmoto/files | |
parent | - Update to 0.5.2 (diff) |
- Add patch to fix build on amd64
Notes
Notes:
svn path=/head/; revision=241390
Diffstat (limited to 'games/xmoto/files')
-rw-r--r-- | games/xmoto/files/patch-src-Replay.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xmoto/files/patch-src-Replay.cpp b/games/xmoto/files/patch-src-Replay.cpp new file mode 100644 index 000000000000..5f97f245aaba --- /dev/null +++ b/games/xmoto/files/patch-src-Replay.cpp @@ -0,0 +1,11 @@ +--- src/Replay.cpp.orig 2009-08-21 13:16:38.000000000 +0400 ++++ src/Replay.cpp 2009-09-14 01:57:12.000000000 +0400 +@@ -156,7 +156,7 @@ + v_replay.writeBuf(pcData, nDataSize); + + /* Chunks */ +- v_replay << m_Chunks.size(); ++ v_replay << (unsigned int)m_Chunks.size(); + for(unsigned int i=0;i<m_Chunks.size();i++) { + v_replay << m_Chunks[i]->nNumStates; + v_replay.writeBuf(m_Chunks[i]->pcChunkData, m_nStateSize * m_Chunks[i]->nNumStates); |