summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-10 02:52:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-10 02:52:38 -0400
commitfd2e6c25024eefa5dfc36bed892360451862cb88 (patch)
tree4fb09cea0a20569fca59eedd73896e92b10565ad /src/parser.cc
parentba02f0a45036a1f9c64cd56533990d3284bcc4cf (diff)
downloadfork-ledger-fd2e6c25024eefa5dfc36bed892360451862cb88.tar.gz
fork-ledger-fd2e6c25024eefa5dfc36bed892360451862cb88.tar.bz2
fork-ledger-fd2e6c25024eefa5dfc36bed892360451862cb88.zip
Ledger now builds without any significant warnings, except for one file. Some
of the warnings had to be temporarily disabled, but will be checked again once the code has moved into master.
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cc b/src/parser.cc
index 1aab840e..922e3453 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -400,7 +400,7 @@ expr_t::parser_t::parse(std::istream& in, const flags_t flags)
catch (const std::exception& err) {
add_error_context("While parsing value expression:\n");
#if 0
- add_error_context(line_context(str, (long)in.tellg() - 1));
+ add_error_context(line_context(str, in.tellg() - 1));
#endif
throw err;
}