(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
1 changed files with 1 additions and 1 deletions

View File

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