]> git.saurik.com Git - wxWidgets.git/commitdiff
applied patch 1373127
authorDavid Surovell <davids@osafoundation.org>
Mon, 5 Dec 2005 16:25:16 +0000 (16:25 +0000)
committerDavid Surovell <davids@osafoundation.org>
Mon, 5 Dec 2005 16:25:16 +0000 (16:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/uri.cpp

index c195d13729c3d93ea5b632d62f76f0b3b56adbf4..52b11eb5afac2441341c8d9af59accdb6c7e1e58 100644 (file)
@@ -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());
         }
     }