# HG changeset patch # User tron # Date 1141563262 0 # Node ID 96d6a2fa97df4ad1e7ba0a547c25733282ca1563 # Parent fc76d566a68e5a415ad1e681444414527d9518eb (svn r3769) Add a cast to make KUDr's C++ compiler happy diff -r fc76d566a68e -r 96d6a2fa97df 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); }