diff options
-rw-r--r-- | src/FbTk/StringUtil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc index 2cc47fd..0dcd989 100644 --- a/src/FbTk/StringUtil.cc +++ b/src/FbTk/StringUtil.cc | |||
@@ -100,7 +100,7 @@ int extractUnsignedNumber(const std::string& in, T& out) { | |||
100 | 100 | ||
101 | unsigned long long int result = 0; | 101 | unsigned long long int result = 0; |
102 | 102 | ||
103 | if (::extractBigNumber(in.c_str(), strtoull, result) && result >= 0) { | 103 | if (::extractBigNumber(in.c_str(), strtoull, result)) { |
104 | out = static_cast<T>(result); | 104 | out = static_cast<T>(result); |
105 | return 1; | 105 | return 1; |
106 | } | 106 | } |