diff --git a/mailnews/compose/src/nsMsgCompUtils.cpp b/mailnews/compose/src/nsMsgCompUtils.cpp index 81724f11e28..3c956598937 100644 --- a/mailnews/compose/src/nsMsgCompUtils.cpp +++ b/mailnews/compose/src/nsMsgCompUtils.cpp @@ -1632,7 +1632,7 @@ nsMsgNewURL(nsIURI** aInstancePtrResult, const char * aSpec) { nsAutoString newSpec("http://"); newSpec += aSpec; - rv = pNetService->NewURI(nsAutoString(newSpec), nsnull, aInstancePtrResult); + rv = pNetService->NewURI(nsCAutoString(newSpec), nsnull, aInstancePtrResult); } else rv = pNetService->NewURI(aSpec, nsnull, aInstancePtrResult);