From: Dimitri Schoolwerth Date: Mon, 21 Feb 2005 02:09:08 +0000 (+0000) Subject: fixed MSVC6 truncation warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3ced905552d401e1a346b5a6f8ae84723c3378b fixed MSVC6 truncation warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index 9e78bad8a9..9cd01d893f 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -67,7 +67,7 @@ static inline wxChar* copystring(const wxChar* s) { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); } #endif -const float versionNo = (float)TEX2RTF_VERSION_NUMBER; +const float versionNo = float(TEX2RTF_VERSION_NUMBER); TexChunk *currentMember = NULL; bool startedSections = false;