summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-13 12:42:56 +0000
committerrubidium <rubidium@openttd.org>2010-05-13 12:42:56 +0000
commit241dd9a9f59208f5c9d025f0481dc00dac35989d (patch)
treef8f67882390f32d6a2d861e69515203ad473e5e7 /src/gfx.cpp
parent548dd91ef0ed6d470dc3553b994022ead99ece95 (diff)
downloadopenttd-241dd9a9f59208f5c9d025f0481dc00dac35989d.tar.xz
(svn r19817) -Fix: MSVC compile warnings
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
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;