mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r3769) Add a cast to make KUDr's C++ compiler happy
This commit is contained in:
@@ -30,7 +30,7 @@ typedef enum DiagDirection {
|
||||
|
||||
static inline DiagDirection ReverseDiagDir(DiagDirection d)
|
||||
{
|
||||
return 2 ^ d;
|
||||
return (DiagDirection)(2 ^ d);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user