diff --git a/tests/controls/notebooktest.cpp b/tests/controls/notebooktest.cpp index c209eb4c3f..1812d08a97 100644 --- a/tests/controls/notebooktest.cpp +++ b/tests/controls/notebooktest.cpp @@ -106,7 +106,7 @@ void NotebookTestCase::NoEventsOnDestruction() // Normally deleting a page before the selected one results in page // selection changing and the corresponding event. - m_notebook->DeletePage(0); + m_notebook->DeletePage(static_cast(0)); CHECK( m_numPageChanges == 1 ); // But deleting the entire control shouldn't generate any events, yet it