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] ) {