summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/warmux/files/warmux-11.04.1-clang.patch')
-rw-r--r--games-strategy/warmux/files/warmux-11.04.1-clang.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-strategy/warmux/files/warmux-11.04.1-clang.patch b/games-strategy/warmux/files/warmux-11.04.1-clang.patch
new file mode 100644
index 000000000000..eb4097bfe6f3
--- /dev/null
+++ b/games-strategy/warmux/files/warmux-11.04.1-clang.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/739400
+
+--- a/src/map/tile.cpp
++++ b/src/map/tile.cpp
+@@ -673,7 +673,7 @@ Tile::SynchTileList Tile::GetTilesToSynch()
+ TileItem_NonEmpty *t = static_cast<TileItem_NonEmpty*>(item[i]);
+
+ if (t->NeedSynch()) {
+- SynchTileInfo info = { i, t->GetSynchsum() };
++ SynchTileInfo info = { (uint16_t)i, t->GetSynchsum() };
+ list.push_back(info);
+ }
+ }