https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6c9629bb725399c074bc28...
commit 6c9629bb725399c074bc2856f54b85b9f0e638ae Author: gedmurphy gedmurphy@reactos.org AuthorDate: Thu Jan 18 15:21:37 2018 +0000 Commit: Ged Murphy gedmurphy@reactos.org CommitDate: Sat Jan 20 18:38:42 2018 +0000
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 256ef4b827..5b8ad09fa3 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)