diff options
m--------- | PMC | 0 | ||||
m--------- | grextras | 0 | ||||
-rw-r--r-- | lib/pmc_to_ptree.cpp | 5 |
3 files changed, 3 insertions, 2 deletions
diff --git a/PMC b/PMC -Subproject 4fd593b1f84e6dee26b43d3a2752ed468dd4db1 +Subproject c6f7c224640ef441e9c6b1bf69eed0f5e0e228b diff --git a/grextras b/grextras -Subproject 4f7f4377c18cd0a9b615694ff979b1bae123028 +Subproject c9ec4a82631b48961643a845c1efdb20b012dae diff --git a/lib/pmc_to_ptree.cpp b/lib/pmc_to_ptree.cpp index f94b5ce..89e5b1e 100644 --- a/lib/pmc_to_ptree.cpp +++ b/lib/pmc_to_ptree.cpp @@ -6,6 +6,7 @@ #include <PMC/Containers.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/foreach.hpp> +#include <boost/cstdint.hpp> #include <vector> #include <complex> @@ -32,7 +33,7 @@ PMCC gras::ptree_to_pmc(const ptree &value) if (value.size() == 0) { //can we cast to integer? - ptree_to_pmc_try(long long) + ptree_to_pmc_try(boost::int64_t) //can we cast to float? ptree_to_pmc_try(double) @@ -46,7 +47,7 @@ PMCC gras::ptree_to_pmc(const ptree &value) //array else { - ptree_to_pmc_tryv(long long); + ptree_to_pmc_tryv(boost::int64_t); ptree_to_pmc_tryv(double); ptree_to_pmc_tryv(std::complex<double>); } |