From 72afeb1ff7cdf00770c2ddbea8881707086def05 Mon Sep 17 00:00:00 2001 From: Jesse Hoogervorst Date: Thu, 7 Apr 2022 16:22:43 +0200 Subject: [PATCH] Fixed PocoJsonValue::getInteger being limited to 32-bit integers --- include/valijson/adapters/poco_json_adapter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/valijson/adapters/poco_json_adapter.hpp b/include/valijson/adapters/poco_json_adapter.hpp index a997deb..6bc5a3e 100644 --- a/include/valijson/adapters/poco_json_adapter.hpp +++ b/include/valijson/adapters/poco_json_adapter.hpp @@ -346,7 +346,7 @@ public: bool getInteger(int64_t &result) const { if (m_value.isInteger()) { - result = m_value.convert(); + result = m_value.convert(); return true; } return false;