mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-23 15:44:43 +00:00
(svn r3769) Add a cast to make KUDr's C++ compiler happy
This commit is contained in:
parent
586388c9f1
commit
27888c0694
@ -30,7 +30,7 @@ typedef enum DiagDirection {
|
||||
|
||||
static inline DiagDirection ReverseDiagDir(DiagDirection d)
|
||||
{
|
||||
return 2 ^ d;
|
||||
return (DiagDirection)(2 ^ d);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user