mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn
This commit is contained in:
parent
1ddc05e822
commit
b8cb654adc
@ -93,7 +93,7 @@ static bool UpdateClientConfigValues(int32 p1);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define NSD_GENERAL(name, def, cmd, guiflags, min, max, interval, many, str, proc, load)\
|
#define NSD_GENERAL(name, def, cmd, 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}
|
{name, (const void*)(size_t)(def), {(byte)cmd}, {(uint16)guiflags}, min, max, interval, many, str, proc, load}
|
||||||
|
|
||||||
/* Macros for various objects to go in the configuration file.
|
/* Macros for various objects to go in the configuration file.
|
||||||
* This section is for global variables */
|
* This section is for global variables */
|
||||||
|
Loading…
Reference in New Issue
Block a user