summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-12 11:54:51 +0000
committertruelight <truelight@openttd.org>2005-01-12 11:54:51 +0000
commit7ec997afcefe5b06c7bc646c25dfa7d7f738b519 (patch)
tree81fe00ddd4edce5381399802a4fcb489cc0a891e /ttd.c
parentf25bec9132e85449511d0042a120aefba5d7d04a (diff)
downloadopenttd-7ec997afcefe5b06c7bc646c25dfa7d7f738b519.tar.xz
(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
-Fix: fixed some compiler-warnings
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index d90a66aec..6bae4e950 100644
--- a/ttd.c
+++ b/ttd.c
@@ -657,7 +657,7 @@ int ttd_main(int argc, char* argv[])
if (sounddriver[0]) ttd_strlcpy(_ini_sounddriver, sounddriver, sizeof(_ini_sounddriver));
if (videodriver[0]) ttd_strlcpy(_ini_videodriver, videodriver, sizeof(_ini_videodriver));
if (resolution[0]) { _cur_resolution[0] = resolution[0]; _cur_resolution[1] = resolution[1]; }
- if (startdate != -1) _patches.starting_date = startdate;
+ if (startdate != (uint)-1) _patches.starting_date = startdate;
if (_dedicated_forks && !_dedicated_enabled)
_dedicated_forks = false;