mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix warnings
This commit is contained in:
parent
203ccc8b59
commit
21b5545bde
@ -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;
|
||||
|
@ -225,7 +225,7 @@ void InitMidiVolume(int volume)
|
||||
MMRESULT result;
|
||||
HMIDIOUT hmo = 0;
|
||||
|
||||
static int table[21] =
|
||||
static unsigned int table[21] =
|
||||
{
|
||||
0x00000000,
|
||||
0x11111111,
|
||||
|
Loading…
x
Reference in New Issue
Block a user