mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
fix for building with latest 32 bit tools. (nw)
src/mess/video/rm380z.c: In member function 'void rm380z_state::put_point(int, int, int, int)': src/mess/video/rm380z.c:17:2: error: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Werror=strict-overflow] for (int r=y;r<(y+mx);r++) ^ cc1plus.exe: all warnings being treated as errors makefile:922: recipe for target 'obj/windows/mess/video/rm380z.o' failed
This commit is contained in:
parent
e872ab3756
commit
a672537ecb
@ -14,9 +14,9 @@ void rm380z_state::put_point(int charnum,int x,int y,int col)
|
||||
int mx=3;
|
||||
if (y==6) mx=4;
|
||||
|
||||
for (int r=y;r<(y+mx);r++)
|
||||
for (unsigned int r=y;r<(y+mx);r++)
|
||||
{
|
||||
for (int c=x;c<(x+3);c++)
|
||||
for (unsigned int c=x;c<(x+3);c++)
|
||||
{
|
||||
m_graphic_chars[charnum][c+(r*(RM380Z_CHDIMX+1))]=col;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user