From e854db32ddad25383026642e51382b58ce729b60 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Thu, 11 Nov 2004 08:29:43 +0000 Subject: [PATCH] fix some comp errors on DMC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/uri.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/uri.cpp b/src/common/uri.cpp index e6475f93fb..e1878f78c4 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -467,7 +467,8 @@ const wxChar* wxURI::ParseServer(const wxChar* uri) // IP-literal = "[" ( IPv6address / IPvFuture ) "]" if (*uri == wxT('[')) { - if (ParseIPv6address(++uri) && *uri == wxT(']')) + ++uri; //some compilers don't support *&ing a ++* + if (ParseIPv6address(uri) && *uri == wxT(']')) { ++uri; m_hostType = wxURI_IPV6ADDRESS; @@ -480,7 +481,8 @@ const wxChar* wxURI::ParseServer(const wxChar* uri) { uri = uricopy; - if (ParseIPvFuture(++uri) && *uri == wxT(']')) + ++uri; //some compilers don't support *&ing a ++* + if (ParseIPvFuture(uri) && *uri == wxT(']')) { ++uri; m_hostType = wxURI_IPVFUTURE;