Skip to content

Commit

Permalink
d3d9: Cast function result to void* to eliminate compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Mar 26, 2023
1 parent de7d7ae commit a672437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythrender_d3d9.cpp
Expand Up @@ -176,7 +176,7 @@ IDirect3DDevice9* D3D9Locker::Acquire(void)

void* MythRenderD3D9::ResolveAddress(const char* lib, const char* proc)
{
return QLibrary::resolve(lib, proc);
return (void *)QLibrary::resolve(lib, proc);
}

MythRenderD3D9::~MythRenderD3D9(void)
Expand Down

0 comments on commit a672437

Please sign in to comment.