diff --git a/htmlparser/src/nsDTDUtils.cpp b/htmlparser/src/nsDTDUtils.cpp index 14372b763bc..e376561a682 100644 --- a/htmlparser/src/nsDTDUtils.cpp +++ b/htmlparser/src/nsDTDUtils.cpp @@ -987,7 +987,7 @@ nsresult nsObserverTopic::Notify(eHTMLTags aTag,nsIParserNode& aNode,void* aUniq mKeys.Push((PRUnichar*)mSourceKey.GetUnicode()); - intValue.Append(PRInt32(theCharsetSource),10); + intValue.AppendInt(PRInt32(theCharsetSource),10); mValues.Push((PRUnichar*)intValue.GetUnicode()); mKeys.Push((PRUnichar*)mDTDKey.GetUnicode()); diff --git a/parser/htmlparser/src/nsDTDUtils.cpp b/parser/htmlparser/src/nsDTDUtils.cpp index 14372b763bc..e376561a682 100644 --- a/parser/htmlparser/src/nsDTDUtils.cpp +++ b/parser/htmlparser/src/nsDTDUtils.cpp @@ -987,7 +987,7 @@ nsresult nsObserverTopic::Notify(eHTMLTags aTag,nsIParserNode& aNode,void* aUniq mKeys.Push((PRUnichar*)mSourceKey.GetUnicode()); - intValue.Append(PRInt32(theCharsetSource),10); + intValue.AppendInt(PRInt32(theCharsetSource),10); mValues.Push((PRUnichar*)intValue.GetUnicode()); mKeys.Push((PRUnichar*)mDTDKey.GetUnicode());