From 682f3d0207027e96c34cc5a2f1e8311c4d370ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 17 Nov 2004 16:11:08 +0000 Subject: [PATCH] Typecast during compilation instead of class constructor call (OW warnig fix). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/encconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index f96e30896c..8a16e004f4 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -206,7 +206,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e } -#define REPLACEMENT_CHAR (tchar('?')) +#define REPLACEMENT_CHAR ((tchar)'?') inline tchar GetTableValue(const tchar *table, tchar value, bool& repl) {