mirror of https://github.com/OpenTTD/OpenTTD
(svn r1072) Fixed a few warnings that made trouble in VS .NET 2003
parent
db6a545203
commit
def5fc3ff7
|
@ -985,7 +985,8 @@ void ConsoleSetPatchSetting(char *name, char *value)
|
||||||
const PatchPage *page;
|
const PatchPage *page;
|
||||||
const PatchEntry *pe = NULL;
|
const PatchEntry *pe = NULL;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
int i, j;
|
int i;
|
||||||
|
unsigned int j;
|
||||||
int val;
|
int val;
|
||||||
|
|
||||||
/* Search for the name in the patch-settings */
|
/* Search for the name in the patch-settings */
|
||||||
|
@ -1044,7 +1045,8 @@ void ConsoleGetPatchSetting(char *name)
|
||||||
const PatchEntry *pe = NULL;
|
const PatchEntry *pe = NULL;
|
||||||
char value[50];
|
char value[50];
|
||||||
bool found = false;
|
bool found = false;
|
||||||
int i, j;
|
int i;
|
||||||
|
unsigned int j;
|
||||||
|
|
||||||
/* Search for the name in the patch-settings */
|
/* Search for the name in the patch-settings */
|
||||||
for (i = 0; i < lengthof(_patches_page); i++) {
|
for (i = 0; i < lengthof(_patches_page); i++) {
|
||||||
|
|
Loading…
Reference in New Issue