From: Mikko Rasa Date: Sun, 20 Sep 2009 16:16:11 +0000 (+0000) Subject: Fix a compilation error on 64-bit systems X-Git-Tag: 1.1~1 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1f262a37bf2c0531f7474df3cdb60d608bfdbba1;p=libs%2Fcore.git Fix a compilation error on 64-bit systems --- 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) {