summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-13 20:12:45 +0000
committerdominik <dominik@openttd.org>2004-12-13 20:12:45 +0000
commitdef5fc3ff7bc5ffc8d3705b467261d8c94047437 (patch)
tree76fb81719e24ed94c098067c03ee7a8a64582ea7 /settings_gui.c
parentdb6a5452037b5f1d8aab79654ed3c631b425bb11 (diff)
downloadopenttd-def5fc3ff7bc5ffc8d3705b467261d8c94047437.tar.xz
(svn r1072) Fixed a few warnings that made trouble in VS .NET 2003
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 6fbc4656b..b8dd259a5 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -985,7 +985,8 @@ void ConsoleSetPatchSetting(char *name, char *value)
const PatchPage *page;
const PatchEntry *pe = NULL;
bool found = false;
- int i, j;
+ int i;
+ unsigned int j;
int val;
/* Search for the name in the patch-settings */
@@ -1044,7 +1045,8 @@ void ConsoleGetPatchSetting(char *name)
const PatchEntry *pe = NULL;
char value[50];
bool found = false;
- int i, j;
+ int i;
+ unsigned int j;
/* Search for the name in the patch-settings */
for (i = 0; i < lengthof(_patches_page); i++) {