Skip to content

Commit 271cb2a

Browse files
committed
Fix conversion warning in win32/os_utils
1 parent 5fc7b1b commit 271cb2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/os/win32/os_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ bool getCurrentModulePath(char* buffer, size_t bufferSize)
391391

392392
if (hmod)
393393
{
394-
GetModuleFileName(hmod, buffer, bufferSize);
394+
GetModuleFileName(hmod, buffer, static_cast<DWORD>(bufferSize));
395395
return true;
396396
}
397397

0 commit comments

Comments
 (0)