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
commite01a7e2e91486c1ed7998d5f0ee90c1f8f30667d (patch)
tree636101ecdc74c7cf56fd72283521362ebb27e7a7
parent3f11c279589b4d94a649e35d6e1b6d6dc81fb674 (diff)
downloadopenttd-e01a7e2e91486c1ed7998d5f0ee90c1f8f30667d.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] = {