From c3ced9ec6c6c292584238036190a649b0f745663 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 24 Aug 2003 15:27:21 +0000 Subject: [PATCH] Removed warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/notebook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/widgets/notebook.cpp b/samples/widgets/notebook.cpp index 5c81ee9117..967cb19b5b 100644 --- a/samples/widgets/notebook.cpp +++ b/samples/widgets/notebook.cpp @@ -136,7 +136,7 @@ protected: // is the value in range? bool IsValidValue(int val) const - { return (val >= 0) && (val < m_notebook->GetPageCount()); } + { return (val >= 0) && (val < (int) m_notebook->GetPageCount()); } // the controls // ------------ -- 2.45.2