Changeset - r2890:ec8fae57b681
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-01-26 17:43:31
peter1138@openttd.org
(svn r3443) - Fix signed/unsigned comparison warning when compiling with gcc 2.95 (tokai)
1 file changed with 7 insertions and 7 deletions:
rail.h
7
7
0 comments (0 inline, 0 general)
rail.h
Show inline comments
 
@@ -80,13 +80,13 @@ typedef enum Tracks {
 

	
 
/** These are the bitfield variants of the above */
 
typedef enum TrackBits {
 
	TRACK_BIT_DIAG1 = 1,  // 0
 
	TRACK_BIT_DIAG2 = 2,  // 1
 
	TRACK_BIT_UPPER = 4,  // 2
 
	TRACK_BIT_LOWER = 8,  // 3
 
	TRACK_BIT_LEFT  = 16, // 4
 
	TRACK_BIT_RIGHT = 32, // 5
 
	TRACK_BIT_MASK  = 0x3F,
 
	TRACK_BIT_DIAG1 = 1U,    // 0
 
	TRACK_BIT_DIAG2 = 2U,    // 1
 
	TRACK_BIT_UPPER = 4U,    // 2
 
	TRACK_BIT_LOWER = 8U,    // 3
 
	TRACK_BIT_LEFT  = 16U,   // 4
 
	TRACK_BIT_RIGHT = 32U,   // 5
 
	TRACK_BIT_MASK  = 0x3FU,
 
} TrackBits;
 

	
 
/** These are a combination of tracks and directions. Values are 0-5 in one
0 comments (0 inline, 0 general)