From 83f1df7b6b9bafc1e1d134e900026b752a4e35d8 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 20 Jul 2020 12:17:21 -0700 Subject: [PATCH] Avoid -Wsign-compare warning --- src/osx/fswatcher_fsevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/fswatcher_fsevents.cpp b/src/osx/fswatcher_fsevents.cpp index 37806db510..ad540d3a7f 100644 --- a/src/osx/fswatcher_fsevents.cpp +++ b/src/osx/fswatcher_fsevents.cpp @@ -459,7 +459,7 @@ void wxFsEventsFileSystemWatcher::PostChange(const wxFileName& oldFileName, wxFSW_EVENT_ATTRIB }; - for ( int i = 0; i < WXSIZEOF(allEvents); i++ ) + for ( unsigned i = 0; i < WXSIZEOF(allEvents); i++ ) { if ( event & allEvents[i] ) {