summaryrefslogtreecommitdiff
path: root/plugins/RemovePersonalSettings
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RemovePersonalSettings')
-rw-r--r--plugins/RemovePersonalSettings/src/rps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp
index c28ab865a9..c511356c36 100644
--- a/plugins/RemovePersonalSettings/src/rps.cpp
+++ b/plugins/RemovePersonalSettings/src/rps.cpp
@@ -537,7 +537,7 @@ BOOL GetSettingBool(const char *section, const char *key, BOOL defaultValue)
BOOL GetSettings(const char *section, char *buffer, size_t bufferSize)
{
buffer[0] = '\0\0';
- return (BOOL)GetPrivateProfileSection(section, buffer, bufferSize, gIniFile) != 0;
+ return (BOOL)GetPrivateProfileSection(section, buffer, (DWORD)bufferSize, gIniFile) != 0;
}