X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c02e5a31c5bd451fd3c82c7b6359a01c68352907..a47391f3f9cceb68fb65cdf2bfef7f98a308fd23:/samples/widgets/notebook.cpp 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 // ------------