Fix: A few minor compile warnings under MinGW

This commit is contained in:
Charles Pigott 2019-01-12 23:00:55 +00:00
parent 1106534262
commit 2d981a4b2c
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#include <windows.h>
#include <fcntl.h>
#include <regstr.h>
#define NO_SHOBJIDL_SORTDIRECTION // Avoid multiple definition of SORT_ASCENDING
#include <shlobj.h> /* SHGetFolderPath */
#include <shellapi.h>
#include "win32.h"

View File

@ -238,7 +238,7 @@ int RedrawScreenDebug()
#define TID_POLLMOUSE 1
#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;
POINT pt;