mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-13 10:32:58 +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
|
||||
{
|
||||
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