mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 10:13:51 +01:00
Fixed PocoJsonValue::getInteger being limited to 32-bit integers
This commit is contained in:
parent
4d603df433
commit
72afeb1ff7
@ -346,7 +346,7 @@ public:
|
||||
bool getInteger(int64_t &result) const
|
||||
{
|
||||
if (m_value.isInteger()) {
|
||||
result = m_value.convert<int>();
|
||||
result = m_value.convert<int64_t>();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user