Skip to content

Commit

Permalink
UPBGE: Fix compilation on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
youle31 committed Oct 28, 2017
1 parent 33a20b9 commit a5b27d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/gameengine/GamePlayer/GPG_ghost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ static HWND findGhostWindowHWND(GHOST_IWindow* window)
{
found_ghost_window_hwnd = nullptr;
ghost_window_to_find = window;
EnumWindows(findGhostWindowHWNDProc, nullptr);
LPARAM lParam = 0.0;

This comment has been minimized.

Copy link
@lordloki

lordloki Oct 28, 2017

Member

LPARAM is int, i think.

EnumWindows(findGhostWindowHWNDProc, lParam);
return found_ghost_window_hwnd;
}

Expand Down

1 comment on commit a5b27d6

@youle31
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops true. Long... i mixed long and double. I'm not on computer right now. If someone is on master can he fix that? Else i'll fix tomorrow. Thanks!

Please sign in to comment.