]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
removed operator>>(istream&, wxString&) -- it's better to not have it at all than...
[wxWidgets.git] / src / common / wxchar.cpp
index 67ce2f84d8fc20b8951ae81b6de9e741879fd309..8f806d62fa5db11ab2079670da6425c836d51f71 100644 (file)
@@ -741,7 +741,7 @@ bool wxPrintfConvSpec::LoadArg(wxPrintfArg *p, va_list &argptr)
             break;
 
         case wxPAT_CHAR:
-            p->pad_char = va_arg(argptr, int);  // char is promoted to int when passed through '...'
+            p->pad_char = (char)va_arg(argptr, int);  // char is promoted to int when passed through '...'
             break;
         case wxPAT_WCHAR:
             p->pad_wchar = (wchar_t)va_arg(argptr, int);  // char is promoted to int when passed through '...'