From 6c9629bb725399c074bc2856f54b85b9f0e638ae Mon Sep 17 00:00:00 2001 From: gedmurphy Date: Thu, 18 Jan 2018 15:21:37 +0000 Subject: [PATCH] forgot about the gcc build... --- base/shell/explorer/trayntfy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base/shell/explorer/trayntfy.cpp b/base/shell/explorer/trayntfy.cpp index 256ef4b8271..5b8ad09fa3b 100644 --- a/base/shell/explorer/trayntfy.cpp +++ b/base/shell/explorer/trayntfy.cpp @@ -119,7 +119,7 @@ public: EnterCriticalSection(&m_ListLock); POSITION Pos; - for (int i = 0; i < m_WatcherList.GetCount(); i++) + for (size_t i = 0; i < m_WatcherList.GetCount(); i++) { Pos = m_WatcherList.FindIndex(i); if (Pos) @@ -170,7 +170,7 @@ public: IconWatcherData* GetListEntry(_In_opt_ NOTIFYICONDATA *iconData, _In_opt_ HANDLE hProcess, _In_ bool Remove) { - IconWatcherData *Entry = nullptr; + IconWatcherData *Entry = NULL; POSITION NextPosition = m_WatcherList.GetHeadPosition(); POSITION Position; do @@ -188,7 +188,7 @@ public: break; } } - Entry = nullptr; + Entry = NULL; } while (NextPosition != NULL); @@ -214,7 +214,7 @@ private: WatchList[0] = This->m_WakeUpEvent; POSITION Pos; - for (int i = 0; i < This->m_WatcherList.GetCount(); i++) + for (size_t i = 0; i < This->m_WatcherList.GetCount(); i++) { Pos = This->m_WatcherList.FindIndex(i); if (Pos)