diff options
author | tron <tron@openttd.org> | 2006-03-05 12:54:22 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-05 12:54:22 +0000 |
commit | f62a7480b7e79f483386f6661524e63b358a9260 (patch) | |
tree | 3b90960dcdd94c75b2d992ee8549f020accc512a | |
parent | f6176a89f944cb7643251f0511ae992318bde0dc (diff) | |
download | openttd-f62a7480b7e79f483386f6661524e63b358a9260.tar.xz |
(svn r3769) Add a cast to make KUDr's C++ compiler happy
-rw-r--r-- | direction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/direction.h b/direction.h index 0300db8a9..8a45dc43e 100644 --- a/direction.h +++ b/direction.h @@ -30,7 +30,7 @@ typedef enum DiagDirection { static inline DiagDirection ReverseDiagDir(DiagDirection d) { - return 2 ^ d; + return (DiagDirection)(2 ^ d); } |