summaryrefslogtreecommitdiff
path: root/src/table/settings.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-09-07 21:01:24 +0000
committersmatz <smatz@openttd.org>2009-09-07 21:01:24 +0000
commit434693b8389a5816d73f089e064819a19f76f798 (patch)
tree4f28bf30f0060e2ec00959a48f107162314ff499 /src/table/settings.h
parentfe7032a7a6efdd19b38a5a79b5a36bbe4cfdc6e7 (diff)
downloadopenttd-434693b8389a5816d73f089e064819a19f76f798.tar.xz
(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0
Diffstat (limited to 'src/table/settings.h')
-rw-r--r--src/table/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index 4fa1a872b..1f832dbc6 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -83,7 +83,7 @@ static bool UpdateClientConfigValues(int32 p1);
*/
#define NSD_GENERAL(name, def, cmd, guiflags, min, max, interval, many, str, proc, load)\
- {name, (const void*)(def), {cmd}, {guiflags}, min, max, interval, many, str, proc, load}
+ {name, (const void*)(def), {(byte)cmd}, {(byte)guiflags}, min, max, interval, many, str, proc, load}
/* Macros for various objects to go in the configuration file.
* This section is for global variables */