1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix warnings

This commit is contained in:
Mathieu Schroeter 2017-01-21 23:31:49 +01:00
parent 203ccc8b59
commit 21b5545bde
2 changed files with 2 additions and 2 deletions

View File

@ -4151,7 +4151,7 @@ BOOL CDecor::BlupiGoal(int rank, int button, POINT cel, POINT cMem)
test = goalHili2;
if ( IsBuildPont(test, icon) != 0 ) return FALSE;
m_blupi[rank].nLoop = abs((test.x-cel.x)+(test.y-cel.y))/2;
m_blupi[rank].nLoop = static_cast<short> (abs((test.x-cel.x)+(test.y-cel.y))/2);
m_blupi[rank].cLoop = 0;
m_blupi[rank].vIcon = icon;
m_blupi[rank].fix = cel;

View File

@ -225,7 +225,7 @@ void InitMidiVolume(int volume)
MMRESULT result;
HMIDIOUT hmo = 0;
static int table[21] =
static unsigned int table[21] =
{
0x00000000,
0x11111111,