FS#5342 - Warnings at MSVC 2010

Attached to Project: OpenTTD
Opened by Pavel Grim (pavel1269) - Tuesday, 23 October 2012, 11:48 GMT
Last edited by Jose Soler (Terkhen) - Thursday, 25 October 2012, 17:41 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Warning when compiling at MSVC 2010, Win 7 prof..

1) 5>d:\games\openttd\trunk\src\group_gui.cpp(514): warning C4018: '>' : signed/unsigned mismatch

2) 5>d:\games\openttd\trunk\src\road_cmd.cpp(798): warning C4800: 'RoadBits' : forcing value to bool 'true' or 'false' (performance warning)
This task depends upon

Closed by  Jose Soler (Terkhen)
Thursday, 25 October 2012, 17:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r24626. Thank for the patches.