(svn r11903) -Fix: try to fix MorphOS compilation
authorsmatz
Thu, 17 Jan 2008 18:21:31 +0000
changeset 8833 b2fe42c9ea64
parent 8832 e1fcfd2e6d75
child 8834 ef15cacd6894
(svn r11903) -Fix: try to fix MorphOS compilation
src/signal.cpp
--- a/src/signal.cpp	Thu Jan 17 18:10:27 2008 +0000
+++ b/src/signal.cpp	Thu Jan 17 18:21:31 2008 +0000
@@ -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] = {