From 73da6ab51ef86b89adad28a935ac22bad257b834 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 4 Jun 2008 17:20:25 +0000 Subject: - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3 - Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though) - Fixed some warnings for g++ 4.3 (only for the engines I'm using) svn-id: r32540 --- gui/eval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/eval.cpp b/gui/eval.cpp index a2aec6d0d3..716006c108 100644 --- a/gui/eval.cpp +++ b/gui/eval.cpp @@ -102,7 +102,7 @@ void Eval::level4(int *result) { char op; op = 0; - if ((_tokenType == tDelimiter) && *_token == '+' || *_token == '-') { + if ((_tokenType == tDelimiter) && (*_token == '+' || *_token == '-')) { op = *_token; getToken(); } -- cgit v1.2.3