nixpkgs/pkgs/games/xmoto/64bit-ftbs.patch

13 lines
469 B
Diff
Raw Normal View History

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);