summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-17 18:21:31 +0000
committersmatz <smatz@openttd.org>2008-01-17 18:21:31 +0000
commit44a4ff835df721270f39525e4af54719e0afafa9 (patch)
tree636101ecdc74c7cf56fd72283521362ebb27e7a7
parentad54075accab23e2ddfedcb520aff6af3e1d691e (diff)
downloadopenttd-44a4ff835df721270f39525e4af54719e0afafa9.tar.xz
(svn r11903) -Fix: try to fix MorphOS compilation
-rw-r--r--src/signal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 6c529125b..f45e1370e 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -28,7 +28,8 @@ enum {
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] = {