From a0e8dafb53e39b0726a0f44591a6540386d73cea Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 9 Feb 2020 10:51:55 +1100 Subject: Backport: Add a size to timer enumeration to avoid warnings. Backport of changeset 7978:d8030b757ed7. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 45eb96d06..257342cdd 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -333,7 +333,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