mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix compile warning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user