diff options
author | Josh Blum | 2013-07-09 23:39:26 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-09 23:39:26 -0700 |
commit | 6aea4048b2d69786b862abf049a8ef4382d8dbb1 (patch) | |
tree | 35dd8543aa4408731fe821d8651a7b6e0f4a18da /lib | |
parent | c1f3f2df1d859937f26770d24fe464b150251251 (diff) | |
download | sandhi-6aea4048b2d69786b862abf049a8ef4382d8dbb1.tar.gz sandhi-6aea4048b2d69786b862abf049a8ef4382d8dbb1.tar.bz2 sandhi-6aea4048b2d69786b862abf049a8ef4382d8dbb1.zip |
gras: default to widest integer converter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pmc_to_ptree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pmc_to_ptree.cpp b/lib/pmc_to_ptree.cpp index 20a0aa7..f94b5ce 100644 --- a/lib/pmc_to_ptree.cpp +++ b/lib/pmc_to_ptree.cpp @@ -32,7 +32,7 @@ PMCC gras::ptree_to_pmc(const ptree &value) if (value.size() == 0) { //can we cast to integer? - ptree_to_pmc_try(long) + ptree_to_pmc_try(long long) //can we cast to float? ptree_to_pmc_try(double) @@ -46,7 +46,7 @@ PMCC gras::ptree_to_pmc(const ptree &value) //array else { - ptree_to_pmc_tryv(long); + ptree_to_pmc_tryv(long long); ptree_to_pmc_tryv(double); ptree_to_pmc_tryv(std::complex<double>); } |