(svn r3769) Add a cast to make KUDr's C++ compiler happy
authortron
Sun, 05 Mar 2006 12:54:22 +0000
changeset 3148 96d6a2fa97df
parent 3147 fc76d566a68e
child 3149 9685221d33fa
(svn r3769) Add a cast to make KUDr's C++ compiler happy
direction.h
--- a/direction.h	Sun Mar 05 12:34:55 2006 +0000
+++ b/direction.h	Sun Mar 05 12:54:22 2006 +0000
@@ -30,7 +30,7 @@
 
 static inline DiagDirection ReverseDiagDir(DiagDirection d)
 {
-	return 2 ^ d;
+	return (DiagDirection)(2 ^ d);
 }