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

pull/155/head
tron 19 years ago
parent f6176a89f9
commit f62a7480b7

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

Loading…
Cancel
Save