diff options
author | smatz <smatz@openttd.org> | 2010-05-21 05:42:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-05-21 05:42:41 +0000 |
commit | 93233a9335aa26404405af54758e164bc0b96b41 (patch) | |
tree | 76f1a63a14652c2989fed1b3158f6898cdee83ce /src/table/settings.h | |
parent | 52b211f939574ac0fd3824160e4fb81291815c26 (diff) | |
download | openttd-93233a9335aa26404405af54758e164bc0b96b41.tar.xz |
(svn r19870) -Codechange: silence some of GCC 3.3 warnings
Diffstat (limited to 'src/table/settings.h')
-rw-r--r-- | src/table/settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/settings.h b/src/table/settings.h index 4cae24b51..9565d2602 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -90,7 +90,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}, {(uint16)guiflags}, min, max, interval, many, str, proc, load} + {name, (const void*)(ptrdiff_t)(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 */ |