From dfe8b546ec73474251a97bd9391750fc18ae6448 Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 28 Nov 2010 19:48:13 +0000 Subject: (svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons --- src/strgen/strgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strgen') 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 -- cgit v1.2.3-70-g09d2