From 06749bd66bb3e689bc96be1a3739747912ee0020 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 6 Dec 2010 17:55:16 +0200 Subject: mingw32 build: fix signed/unsigned warnings as errors --- client/cmd_line_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/cmd_line_parser.cpp') diff --git a/client/cmd_line_parser.cpp b/client/cmd_line_parser.cpp index a813629d..963250b1 100644 --- a/client/cmd_line_parser.cpp +++ b/client/cmd_line_parser.cpp @@ -436,7 +436,7 @@ char* CmdLineParser::next_argument() void CmdLineParser::show_help() { static const int HELP_START_POS = 30; - static const int HELP_WIDTH = 80 - HELP_START_POS; + static const unsigned HELP_WIDTH = 80 - HELP_START_POS; std::ostringstream os; os << _argv[0] << " - " << _description.c_str() << "\n\noptions:\n\n"; -- cgit