mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-01-06 00:31:11 +01:00
Merge pull request #159 from jackorobot/fix_poco_get_integer
This commit is contained in:
commit
23724b97e3
@ -346,7 +346,7 @@ public:
|
|||||||
bool getInteger(int64_t &result) const
|
bool getInteger(int64_t &result) const
|
||||||
{
|
{
|
||||||
if (m_value.isInteger()) {
|
if (m_value.isInteger()) {
|
||||||
result = m_value.convert<int>();
|
result = m_value.convert<int64_t>();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user