summaryrefslogtreecommitdiff
path: root/src/settings_internal.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-29 18:35:31 +0000
committerfrosch <frosch@openttd.org>2011-05-29 18:35:31 +0000
commit615e435677a31a6ed7a78f21ad42af724bf20fca (patch)
tree27829a81d1431adc113a866693a28e20374c12a4 /src/settings_internal.h
parent36526d6b0520e7cc27c0416a72186eeee7b01bdf (diff)
downloadopenttd-615e435677a31a6ed7a78f21ad42af724bf20fca.tar.xz
(svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r--src/settings_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h
index f4444a9b4..5ada21eaa 100644
--- a/src/settings_internal.h
+++ b/src/settings_internal.h
@@ -56,7 +56,7 @@ typedef SimpleTinyEnumT<SettingGuiFlagLong, uint16> SettingGuiFlag;
typedef bool OnChange(int32 var); ///< callback prototype on data modification
-typedef int32 OnConvert(const char *value); ///< callback prototype for convertion error
+typedef size_t OnConvert(const char *value); ///< callback prototype for convertion error
/** Properties of config file settings. */
struct SettingDescBase {