X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a1ebd101f0653e69736416a2a28d0ada423141..e8615999ddf5e3ee218b11d1bdf031a565ca7539:/src/common/uri.cpp

diff --git a/src/common/uri.cpp b/src/common/uri.cpp
index c195d13729..52b11eb5af 100644
--- a/src/common/uri.cpp
+++ b/src/common/uri.cpp
@@ -882,8 +882,8 @@ void wxURI::Resolve(const wxURI& base, int flags)
                     op += 3;
             }
 
-            m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
-                    m_path.substr((op - m_path.c_str()), m_path.Length());
+            m_path = (wxString)base.m_path.substr(0, bp - base.m_path.c_str()) +
+                    (wxString)m_path.substr((op - m_path.c_str()), m_path.Length());
         }
     }