summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-11-28 19:48:13 +0000
committeryexo <yexo@openttd.org>2010-11-28 19:48:13 +0000
commitdfe8b546ec73474251a97bd9391750fc18ae6448 (patch)
treeab83a71e88880e89946b7a7d97cd58fdce1703c1 /src
parentd81d42bfc3d18cbf44739a441387f1a6ed11aa3e (diff)
downloadopenttd-dfe8b546ec73474251a97bd9391750fc18ae6448.tar.xz
(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons
Diffstat (limited to 'src')
-rw-r--r--src/strgen/strgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index 85dfbdd02..21f3683bb 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -56,7 +56,7 @@ static const char *_output_filename = NULL; ///< The filename of the output, so
static int _cur_line; ///< The current line we're parsing in the input file
static int _errors, _warnings, _show_todo;
-static const size_t MAX_COMMAND_PARAM_SIZE = 100; ///< Maximum size of every command block, not counting the name of the command itself
+static const ptrdiff_t MAX_COMMAND_PARAM_SIZE = 100; ///< Maximum size of every command block, not counting the name of the command itself
struct LangString {
char *name; // Name of the string