1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 00:15:04 -05:00

Fix MSVC compilation error

This commit is contained in:
SChernykh
2021-10-25 10:22:01 +02:00
parent f8f73b0cd7
commit b9464f993b
2 changed files with 1 additions and 5 deletions

View File

@@ -152,7 +152,7 @@ xmrig::String xmrig::Process::exepath()
{
size_t size = sizeof(pathBuf);
return uv_exepath(pathBuf, &size) < 0 ? "" : String(pathBuf, size);
return uv_exepath(pathBuf, &size) < 0 ? String("") : String(pathBuf, size);
}