]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
Warning fix and source cleaning.
[wxWidgets.git] / src / common / variant.cpp
index 86602e25d37000b36abc9553e0629643def50653..6df6999ab156392f7fd7e4282070fd0d1779805b 100644 (file)
@@ -706,7 +706,7 @@ bool wxVariantDataChar::Read(wxInputStream& str)
 
 bool wxVariantDataChar::Read(wxString& str)
 {
-    m_value = str[(size_t)0];
+    m_value = str.ToAscii()[0u];
     return true;
 }