fix some comp errors on DMC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1746bcc5ff
commit
e854db32dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user