summaryrefslogtreecommitdiff
path: root/src/options/options_template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options/options_template.cpp')
-rw-r--r--src/options/options_template.cpp2
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback