From 73ffd2b178bf20446e7fad98c989596f2b21d48e Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 26 Sep 2009 22:37:44 +0000 Subject: [PATCH] (svn r17651) -Fix [FS#3238] (r17644): crashes when commands related to company settings where done --- src/table/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/settings.h b/src/table/settings.h index 1bdb6f5b97..0fee7ef204 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 */