diff options
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/options_template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options/options_template.cpp b/src/options/options_template.cpp index a3fc91c95..97a588414 100644 --- a/src/options/options_template.cpp +++ b/src/options/options_template.cpp @@ -75,7 +75,7 @@ template <class T> struct OptionHandler<T, true, true> { static T handle(std::string option, std::string optarg) { try { - Integer i(optarg, 0); + Integer i(optarg, 10); if(! std::numeric_limits<T>::is_signed && i < 0) { // unsigned type but user gave negative argument |