Skip to content

Commit

Permalink
Remove unnecessary reinterpret_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Oct 13, 2024
1 parent 18b0814 commit d33e472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFML/Window/Win32/WindowImplWin32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void setProcessDpiAware()
{
using SetProcessDPIAwareFuncType = BOOL(WINAPI*)();
auto setProcessDPIAwareFunc = reinterpret_cast<SetProcessDPIAwareFuncType>(
reinterpret_cast<void*>(GetProcAddress(user32Dll, "SetProcessDPIAware")));
GetProcAddress(user32Dll, "SetProcessDPIAware"));

if (setProcessDPIAwareFunc)
{
Expand Down

0 comments on commit d33e472

Please sign in to comment.