diff options
author | smatz <smatz@openttd.org> | 2010-11-10 19:54:20 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-11-10 19:54:20 +0000 |
commit | b8cb654adcc280303b6e442b7c476968996efa88 (patch) | |
tree | 9d21a74b924d8eab244190b04ea6484b02927bc2 | |
parent | 1ddc05e822387a4dfc8c902e0e88ab59f97923b7 (diff) | |
download | openttd-b8cb654adcc280303b6e442b7c476968996efa88.tar.xz |
(svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn
-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 d27f509ac..61653e746 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -93,7 +93,7 @@ static bool UpdateClientConfigValues(int32 p1); */ #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. * This section is for global variables */ |