X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.cpp;h=498977569e2179ee203de59f0e1624b536031f70;hp=be1d151a3ee8e704af0b10b79ed42c7a8b787572;hb=1f262a37bf2c0531f7474df3cdb60d608bfdbba1;hpb=ae48dac6a368dbf68b1ec976254a5f896c5b737b diff --git a/source/core/getopt.cpp b/source/core/getopt.cpp index be1d151..4989775 100644 --- a/source/core/getopt.cpp +++ b/source/core/getopt.cpp @@ -66,7 +66,7 @@ string GetOpt::generate_help() const for(list::const_iterator i=opts.begin(); (!any_short && i!=opts.end()); ++i) any_short=(*i)->get_short(); - unsigned maxw=0; + string::size_type maxw=0; list switches; for(list::const_iterator i=opts.begin(); i!=opts.end(); ++i) {