From 42632bcee13d266353f70d703940467ef546e417 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 31 Oct 2008 17:14:12 +0000 Subject: [PATCH] fix MSVC /Wp64 warning about size_t to int conversion (closes #10068) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index c32bfc8329..a88985d6e0 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -705,7 +705,7 @@ public: virtual int GetParagraphLength(long paragraphNumber) const; /// Get the number of paragraphs - virtual int GetParagraphCount() const { return GetChildCount(); } + virtual int GetParagraphCount() const { return static_cast(GetChildCount()); } /// Get the number of visible lines virtual int GetLineCount() const; -- 2.47.2