Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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