Changeset - r8512:a6251235c520
[Not reviewed]
master
0 2 0
glx - 17 years ago 2008-02-08 17:53:01
glx@openttd.org
(svn r12087) -Fix: MSVC warnings
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/settings_gui.cpp
Show inline comments
 
@@ -557,7 +557,7 @@ static void GameDifficultyWndProc(Window
 
				value = ((GDType*)&_opt_mod_temp.diff)[i];
 

	
 
				DrawArrowButtons(5, y, 3,
 
						(diffic_d->clicked_button == i) ? 1 << diffic_d->clicked_increase : 0,
 
						(diffic_d->clicked_button == i) ? 1 + !!diffic_d->clicked_increase : 0,
 
						!(HasBit(disabled, i) || gsd->min == value),
 
						!(HasBit(disabled, i) || gsd->max == value));
 

	
src/tree_cmd.cpp
Show inline comments
 
@@ -498,7 +498,7 @@ static void DrawTile_Trees(TileInfo *ti)
 
		uint mi = 0;
 

	
 
		for (uint i = 1; i < trees; i++) {
 
			if (te[i].x + te[i].y < min) {
 
			if ((uint)(te[i].x + te[i].y) < min) {
 
				min = te[i].x + te[i].y;
 
				mi = i;
 
			}
0 comments (0 inline, 0 general)