ASYLUM: Fix Various GCC Compiler Warnings.

This commit is contained in:
D G Turner 2018-01-18 23:16:21 +00:00 committed by Eugene Sandulenko
parent 8ad1bcb8a9
commit ffe854efe7
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
3 changed files with 6 additions and 3 deletions

View File

@ -47,7 +47,8 @@ static const PuzzleBoard::PuzzleData puzzleSalvationData = {
{'A', Common::Point( 66, 199)},
{'T', Common::Point(436, 229)},
{'O', Common::Point(172, 262)},
{'N', Common::Point(393, 296)}},
{'N', Common::Point(393, 296)},
{'\0', Common::Point(0, 0)}},
false,
"S A L V A T I O N "
};

View File

@ -42,7 +42,9 @@ static const PuzzleBoard::PuzzleData puzzleYouthData = {
{'H', Common::Point(417, 152)},
{'T', Common::Point(223, 181)},
{'H', Common::Point(497, 198)},
{'Y', Common::Point(435, 231)}},
{'Y', Common::Point(435, 231)},
{'\0', Common::Point(0, 0)},
{'\0', Common::Point(0, 0)}},
true,
"T H E Y O U T H "
};

View File

@ -554,7 +554,7 @@ void PuzzlePipes::setup() {
if (i) {
_frameIndexSpider = new uint32[_spiders.size()];
memset(_frameIndexSpider, 0, sizeof(_frameIndexSpider));
memset(_frameIndexSpider, 0, _spiders.size()*sizeof(uint32));
}
startUpWater();