diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-03 06:11:33 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:36 -0400 |
commit | 738287ef7059e34c2f3c894aa3b1f7da3e059975 (patch) | |
tree | 0620fe4354be6268d6de9acd97698b12935690f0 /src/value.cc | |
parent | c59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0 (diff) | |
download | fork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.tar.gz fork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.tar.bz2 fork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.zip |
Merged ../commodity_pool
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc index e1cfa736..4451a543 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1647,7 +1647,7 @@ void value_t::in_place_cast(type_t cast_type) break; } if (alldigits) { - long temp = std::atol((*(string **) data)->c_str()); + long temp = lexical_cast<long>((*(string **) data)->c_str()); destroy(); *(long *) data = temp; } else { |