Commit 9c8420fe authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix compile warning

parent 07e89bf7
......@@ -125,7 +125,8 @@ static void get_datadir_from_ini(const char *ini, char *service_name, char *data
{
if (sections[i])
{
GetPrivateProfileStringA(sections[i], "datadir", NULL, datadir, sz, ini);
GetPrivateProfileStringA(sections[i], "datadir", NULL, datadir,
(DWORD) sz, ini);
if (*datadir)
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment