From b8cb654adcc280303b6e442b7c476968996efa88 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 10 Nov 2010 19:54:20 +0000 Subject: (svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn --- 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 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 */ -- cgit v1.2.3-70-g09d2