mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
Fix: A few minor compile warnings under MinGW
This commit is contained in:
parent
1106534262
commit
2d981a4b2c
@ -17,6 +17,7 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <regstr.h>
|
#include <regstr.h>
|
||||||
|
#define NO_SHOBJIDL_SORTDIRECTION // Avoid multiple definition of SORT_ASCENDING
|
||||||
#include <shlobj.h> /* SHGetFolderPath */
|
#include <shlobj.h> /* SHGetFolderPath */
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include "win32.h"
|
#include "win32.h"
|
||||||
|
@ -238,7 +238,7 @@ int RedrawScreenDebug()
|
|||||||
#define TID_POLLMOUSE 1
|
#define TID_POLLMOUSE 1
|
||||||
#define MOUSE_POLL_DELAY 75
|
#define MOUSE_POLL_DELAY 75
|
||||||
|
|
||||||
static void CALLBACK TrackMouseTimerProc(HWND hwnd, UINT msg, UINT event, DWORD time)
|
static void CALLBACK TrackMouseTimerProc(HWND hwnd, UINT msg, UINT_PTR event, DWORD time)
|
||||||
{
|
{
|
||||||
RECT rc;
|
RECT rc;
|
||||||
POINT pt;
|
POINT pt;
|
||||||
|
Loading…
Reference in New Issue
Block a user