summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pmc_to_ptree.cpp5
1 files changed, 3 insertions, 2 deletions
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>);
}