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 | 27888c0694ee0c5eba3314c89ed52e9c9ed4691f (patch) | |
tree | 3b90960dcdd94c75b2d992ee8549f020accc512a | |
parent | 586388c9f17a39b4d3a7e7706fe6b40191a922b4 (diff) | |
download | openttd-27888c0694ee0c5eba3314c89ed52e9c9ed4691f.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); } |