]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/strvararg.h
fix some of icc 11.0 warnings and disable a few others
[wxWidgets.git] / include / wx / strvararg.h
index 7364cd61b37063a4a85dd89148001b5f581df798..4a9f0dbdd654916c20331eb9a803105a8f1cb579 100644 (file)
@@ -564,7 +564,7 @@ struct wxArgNormalizerNarrowChar
         // FIXME-UTF8: which one is better default in absence of fmt string
         //             (i.e. when used like e.g. Foo("foo", "bar", 'c', NULL)?
         if ( !fmt || fmt->GetArgumentType(index) == wxFormatString::Arg_Char )
-            m_value = wxUniChar(value).GetValue();
+            m_value = wx_truncate_cast(T, wxUniChar(value).GetValue());
         else
             m_value = value;
     }