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:
smf- 2014-09-09 10:47:01 +00:00
parent e872ab3756
commit a672537ecb

View File

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