summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-01-13 16:12:52 +0000
committerCharles Pigott <charlespigott@googlemail.com>2019-01-17 21:55:15 +0000
commitfe8c24e0817a04ea7719372156d2aa674939b479 (patch)
tree088589f32eafb3043423927b85e54fa0f2cd798d /src/video
parent2d981a4b2c63f5a1ae28aa49c8622503c31ffc3e (diff)
downloadopenttd-fe8c24e0817a04ea7719372156d2aa674939b479.tar.xz
Codechange: Remove unnecessarily defined functions under MinGW
Diffstat (limited to 'src/video')
-rw-r--r--src/video/win32_v.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 29a065720..6cee4fef2 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -636,7 +636,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
switch (msg) {
case WM_CREATE:
- SetTimer(hwnd, TID_POLLMOUSE, MOUSE_POLL_DELAY, (TIMERPROC)TrackMouseTimerProc);
+ SetTimer(hwnd, TID_POLLMOUSE, MOUSE_POLL_DELAY, TrackMouseTimerProc);
SetCompositionPos(hwnd);
_imm_props = ImmGetProperty(GetKeyboardLayout(0), IGP_PROPERTY);
break;
@@ -741,7 +741,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
_pTrackMouseEvent(&tme);
} else {
- SetTimer(hwnd, TID_POLLMOUSE, MOUSE_POLL_DELAY, (TIMERPROC)TrackMouseTimerProc);
+ SetTimer(hwnd, TID_POLLMOUSE, MOUSE_POLL_DELAY, TrackMouseTimerProc);
}
}