changeset 8337:94d8a0939021 draft

(svn r11903) -Fix: try to fix MorphOS compilation
author smatz <smatz@openttd.org>
date Thu, 17 Jan 2008 18:21:31 +0000
parents 4f73dcb0e148
children 133b06cabee8
files src/signal.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -28,7 +28,8 @@
 	SIG_GLOB_UPDATE =  64, ///< how many items need to be in _globset to force update
 };
 
-assert_compile(SIG_GLOB_UPDATE <= SIG_GLOB_SIZE);
+/* need to typecast to compile with MorphOS */
+assert_compile((int)SIG_GLOB_UPDATE <= (int)SIG_GLOB_SIZE);
 
 /** incidating trackbits with given enterdir */
 static const TrackBitsByte _enterdir_to_trackbits[DIAGDIR_END] = {