Author: brunowolff
Date: Wed Mar 19 18:06:24 2008
New Revision: 24853
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24853&view=rev
Log:
Silence gcc 4.3 warning by adding parens around && clause near ||.
Modified:
trunk/src/generate_report.cpp
Modified: trunk/src/generate_report.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/generate_report.cpp?rev=24853&r1=24852&r2=24853&view=diff
==============================================================================
--- trunk/src/generate_report.cpp (original)
+++ trunk/src/generate_report.cpp Wed Mar 19 18:06:24 2008
@@ -46,7 +46,7 @@
{
unit_map::iterator u = units.end();
- if(int(type) >= int(UNIT_REPORTS_BEGIN) && int(type) <
int(UNIT_REPORTS_END) || type == POSITION) {
+ if((int(type) >= int(UNIT_REPORTS_BEGIN) && int(type) <
int(UNIT_REPORTS_END)) || type == POSITION) {
u = find_visible_unit(units,displayed_unit_hex,
map,
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits