Skip to content

Commit b58c2ec

Browse files
committed
Fix build error.
1 parent 6255b43 commit b58c2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analytics/src/analytics_windows.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ HMODULE VerifyAndLoadAnalyticsLibrary(
261261
} else {
262262
// Load the library. When loading with a full path string, other
263263
// directories are not searched.
264-
hModule = LoadLibraryW(full_dll_path_str);
264+
hModule = LoadLibraryW(full_dll_path_str.c_str());
265265
if (hModule == NULL) {
266266
DWORD dwError = GetLastError();
267267
LogError(LOG_TAG "Library load failed for Analytics DLL. Error: %u",

0 commit comments

Comments
 (0)