From 4638044f0305adf32ba56c6436c1690a13d29c86 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 9 Feb 2020 10:51:55 +1100 Subject: Add a size to timer enumeration to avoid warnings. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 06c582533..bbe0a32ad 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -336,7 +336,7 @@ class ScintillaWin : static LRESULT PASCAL CTWndProc( HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam); - enum { invalidTimerID, standardTimerID, idleTimerID, fineTimerStart }; + enum : UINT_PTR { invalidTimerID, standardTimerID, idleTimerID, fineTimerStart }; bool DragThreshold(Point ptStart, Point ptNow) override; void StartDrag() override; -- cgit v1.2.3