summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
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;
}