| Previous | 199869 Revisions | Next |
| r32018 Tuesday 9th September, 2014 at 10:47:01 UTC by smf |
|---|
| 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 |
| [src/mess/video] | rm380z.c |
| r32017 | r32018 | |
|---|---|---|
| 14 | 14 | int mx=3; |
| 15 | 15 | if (y==6) mx=4; |
| 16 | 16 | |
| 17 | for (int r=y;r<(y+mx);r++) | |
| 17 | for (unsigned int r=y;r<(y+mx);r++) | |
| 18 | 18 | { |
| 19 | for (int c=x;c<(x+3);c++) | |
| 19 | for (unsigned int c=x;c<(x+3);c++) | |
| 20 | 20 | { |
| 21 | 21 | m_graphic_chars[charnum][c+(r*(RM380Z_CHDIMX+1))]=col; |
| 22 | 22 | } |
| Previous | 199869 Revisions | Next |