Avoid -Wsign-compare warning

This commit is contained in:
Paul Cornett
2020-10-14 12:03:51 -07:00
parent c7122a8c0d
commit 72c002f8c5

View File

@@ -256,7 +256,7 @@ int wxDisplayFactoryMacOSX::GetFromWindow(const wxWindow *window)
wxASSERT(err == CGDisplayNoErr);
const double scaleWindow = tlw->GetContentScaleFactor();
for ( int i = 0 ; i < theCount; ++i )
for ( unsigned i = 0; i < theCount; ++i )
{
// find a screen intersecting having the same contentScale as the window itself
double scale = wxGetScaleFactor(theIDs[i]);