summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-26 22:37:44 +0000
committerrubidium <rubidium@openttd.org>2009-09-26 22:37:44 +0000
commit73ffd2b178bf20446e7fad98c989596f2b21d48e (patch)
tree5cc6660b221a269381d69f44e7484585b943febf /src
parentdd108f2399a7beb197e3c1cc950d6728cd98c96b (diff)
downloadopenttd-73ffd2b178bf20446e7fad98c989596f2b21d48e.tar.xz
(svn r17651) -Fix [FS#3238] (r17644): crashes when commands related to company settings where done
Diffstat (limited to 'src')
-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 1bdb6f5b9..0fee7ef20 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), {(byte)cmd}, {(byte)guiflags}, min, max, interval, many, str, proc, load}
+ {name, (const void*)(def), {(byte)cmd}, {(uint16)guiflags}, min, max, interval, many, str, proc, load}
/* Macros for various objects to go in the configuration file.
* This section is for global variables */