3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/xmoto/64bit-ftbs.patch
Lluís Batlle i Rossell 660203213f Fixing xmoto for x86_64-linux, taking a patch from Debian
svn path=/nixpkgs/trunk/; revision=19081
2009-12-23 18:34:46 +00:00

13 lines
469 B
Diff

From debian: https://launchpad.net/ubuntu/karmic/+source/xmoto/0.5.2-2
--- a/src/Replay.cpp
+++ b/src/Replay.cpp
@@ -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);