From 1f262a37bf2c0531f7474df3cdb60d608bfdbba1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 20 Sep 2009 16:16:11 +0000 Subject: [PATCH] Fix a compilation error on 64-bit systems --- source/core/getopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.0