You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-strategy/warmux/files/warmux-11.04.1-clang.patch

14 lines
398 B

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