From 27888c0694ee0c5eba3314c89ed52e9c9ed4691f Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 5 Mar 2006 12:54:22 +0000 Subject: [PATCH] (svn r3769) Add a cast to make KUDr's C++ compiler happy --- direction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direction.h b/direction.h index 0300db8a9e..8a45dc43e8 100644 --- a/direction.h +++ b/direction.h @@ -30,7 +30,7 @@ typedef enum DiagDirection { static inline DiagDirection ReverseDiagDir(DiagDirection d) { - return 2 ^ d; + return (DiagDirection)(2 ^ d); }