1
0
Fork 0

Do not lose precision for unsigned values.

This commit is contained in:
Max Neunhoeffer 2016-05-04 16:07:33 +02:00
parent 355a412cd4
commit 791deaf176
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class RestAgencyPrivHandler : public arangodb::RestBaseHandler {
return false;
} else {
try {
val = std::stol(val_str);
val = std::stoul(val_str);
} catch (std::invalid_argument const&) {
LOG(WARN) << "Value for query string " << name
<< "cannot be converted to integral type";