mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-03-03 04:38:40 +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…
x
Reference in New Issue
Block a user