From 38122c22241cb8fe64f0d17cd3b084418f49edaa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Feb 2009 04:54:54 -0400 Subject: Corrected warnings g++-4.3.3 was complaining about --- src/expr.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/expr.cc') diff --git a/src/expr.cc b/src/expr.cc index 2e96773b..20b52f71 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -92,7 +92,8 @@ void expr_t::parse(const string& _str, const uint32_t flags) { parser_t parser; str = _str; - ptr = parser.parse(str, flags); + ptr = parser.parse(str, parser_t::parse_flags_t + (static_cast(flags))); context = NULL; compiled = false; } @@ -102,7 +103,8 @@ void expr_t::parse(std::istream& in, const uint32_t flags, { parser_t parser; str = ""; - ptr = parser.parse(in, flags, original_string); + ptr = parser.parse(in, parser_t::parse_flags_t + (static_cast(flags)), original_string); context = NULL; compiled = false; } -- cgit v1.2.3