summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cam/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/options.cpp b/src/cam/options.cpp
index bea4a600..7c3948df 100644
--- a/src/cam/options.cpp
+++ b/src/cam/options.cpp
@@ -79,7 +79,7 @@ bool OptionsBase<T>::parseValue(const T &opt, const Option &option,
if (optarg) {
char *endptr;
- integer = strtoul(optarg, &endptr, 10);
+ integer = strtoul(optarg, &endptr, 0);
if (*endptr != '\0')
return false;
} else {