Skip to content

Commit

Permalink
Merge branch 'main' into bump-macos-12-14
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Oct 24, 2024
2 parents c89e0d9 + 4166724 commit fbf4c6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/include/public/mat.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ extern "C" {
{
#ifdef _WIN32
/* This code accepts a handle of a library loaded in customer's code */
evt_app_call_t impl = (evt_app_call_t)GetProcAddress((HMODULE)handle, "evt_api_call_default");
/* The intermediate (void*) cast prevents incompatible function type cast diagnostics */
evt_app_call_t impl = (evt_app_call_t)(void*)GetProcAddress((HMODULE)handle, "evt_api_call_default");
if (impl != NULL)
{
evt_api_call = impl;
Expand Down
2 changes: 1 addition & 1 deletion lib/modules
1 change: 1 addition & 0 deletions tests/functests/MultipleLogManagersTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ TEST_F(MultipleLogManagersTests, PrivacyGuardSharedWithTwoInstancesCoexist)
MockLogger mockLogger;
auto privacyConcernLogCount = 0;
InitializationConfiguration config(&mockLogger, CommonDataContext {});
config.ScanForUrls = true;
const auto privacyGuard = std::make_shared<PrivacyGuard>(config);
mockLogger.m_logEventOverride = [&privacyConcernLogCount, &privacyGuard](const EventProperties& properties) {
if (equalsIgnoreCase(properties.GetName(), privacyGuard->GetNotificationEventName()))
Expand Down

0 comments on commit fbf4c6a

Please sign in to comment.