summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-12-14 00:25:00 +0000
committerglx <glx@openttd.org>2007-12-14 00:25:00 +0000
commit3a0f350ab43b7a38b503fa99975a2de03df9f9da (patch)
treec2518d2ea3be7b7691294466ded2268560e30617 /src/newgrf_gui.cpp
parent5b689aa665f047a25c6dc655b983c5400a256429 (diff)
downloadopenttd-3a0f350ab43b7a38b503fa99975a2de03df9f9da.tar.xz
(svn r11631) -Fix (r11585, r11626): remove MSVC warnings
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 6e05d4f51..fbd4934a7 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -131,7 +131,7 @@ static void NewGRFAddDlgWndProc(Window *w, WindowEvent *e)
case WE_PAINT: {
const GRFConfig *c;
const Widget *wl = &w->widget[ANGRFW_GRF_LIST];
- uint n = 0;
+ int n = 0;
/* Count the number of GRFs */
for (c = _all_grfs; c != NULL; c = c->next) n++;