1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r3769) Add a cast to make KUDr's C++ compiler happy

This commit is contained in:
tron
2006-03-05 12:54:22 +00:00
parent 586388c9f1
commit 27888c0694

View File

@@ -30,7 +30,7 @@ typedef enum DiagDirection {
static inline DiagDirection ReverseDiagDir(DiagDirection d) static inline DiagDirection ReverseDiagDir(DiagDirection d)
{ {
return 2 ^ d; return (DiagDirection)(2 ^ d);
} }