From 1064a196d16ac88a1fe15150844c703a8a8e8fd2 Mon Sep 17 00:00:00 2001 From: mes5k Date: Thu, 9 Sep 2004 03:09:32 +0000 Subject: [PATCH] fixed a warning in MSVC++ --- src/CmdLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CmdLine.cpp b/src/CmdLine.cpp index 0b39a39..1b9eede 100644 --- a/src/CmdLine.cpp +++ b/src/CmdLine.cpp @@ -120,7 +120,7 @@ void CmdLine::_shortUsage( ostream& os ) if ( !_xorHandler.contains( (*it) ) ) s += " " + (*it)->shortID(); - spacePrint( os, s, 75, 3, _progName.length() + 2 ); + spacePrint( os, s, 75, 3, (int)(_progName.length()) + 2 ); } void CmdLine::_longUsage( ostream& os )