From 27888c0694ee0c5eba3314c89ed52e9c9ed4691f Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 5 Mar 2006 12:54:22 +0000 Subject: (svn r3769) Add a cast to make KUDr's C++ compiler happy --- direction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'direction.h') diff --git a/direction.h b/direction.h index 0300db8a9..8a45dc43e 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); } -- cgit v1.2.3-70-g09d2