diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 12:42:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 12:42:56 +0000 |
commit | 241dd9a9f59208f5c9d025f0481dc00dac35989d (patch) | |
tree | f8f67882390f32d6a2d861e69515203ad473e5e7 /src/gfx.cpp | |
parent | 548dd91ef0ed6d470dc3553b994022ead99ece95 (diff) | |
download | openttd-241dd9a9f59208f5c9d025f0481dc00dac35989d.tar.xz |
(svn r19817) -Fix: MSVC compile warnings
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp index 6cfe68a7b..8d3eaee65 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -1533,7 +1533,7 @@ void DrawDirtyBlocks() } } while (b++, (x += DIRTY_BLOCK_WIDTH) != w); - } while (b += -(w / DIRTY_BLOCK_WIDTH) + _dirty_bytes_per_line, (y += DIRTY_BLOCK_HEIGHT) != h); + } while (b += -(int)(w / DIRTY_BLOCK_WIDTH) + _dirty_bytes_per_line, (y += DIRTY_BLOCK_HEIGHT) != h); _invalid_rect.left = w; _invalid_rect.top = h; |