summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-09-03 12:45:45 +0000
committerfrosch <frosch@openttd.org>2011-09-03 12:45:45 +0000
commit5ccd091fd1bdf9a92b2424bba2dd63b372df0639 (patch)
tree88e87ee24d5ee0cb11b5783b1378dbaee75f9caa /src/stdafx.h
parent275a394bc1a83898e31ea2c30b19b1a9a37c2bc5 (diff)
downloadopenttd-5ccd091fd1bdf9a92b2424bba2dd63b372df0639.tar.xz
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index c50a93eba..bee855169 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -339,6 +339,7 @@ assert_compile(sizeof(uint64) == 8);
assert_compile(sizeof(uint32) == 4);
assert_compile(sizeof(uint16) == 2);
assert_compile(sizeof(uint8) == 1);
+assert_compile(SIZE_MAX >= UINT32_MAX);
#ifndef M_PI_2
#define M_PI_2 1.57079632679489661923