From 241dd9a9f59208f5c9d025f0481dc00dac35989d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 13 May 2010 12:42:56 +0000 Subject: (svn r19817) -Fix: MSVC compile warnings --- src/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx.cpp') 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; -- cgit v1.2.3-54-g00ecf