mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in content directory. r=jst
This commit is contained in:
parent
f501eed612
commit
aaf973be9a
@ -233,7 +233,7 @@ nsTextNode::List(FILE* out, PRInt32 aIndent) const
|
||||
PRInt32 index;
|
||||
for (index = aIndent; --index >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "Text@%p", this);
|
||||
fprintf(out, "Text@%p", static_cast<const void*>(this));
|
||||
fprintf(out, " intrinsicstate=[%08x]", IntrinsicState());
|
||||
fprintf(out, " refcount=%d<", mRefCnt.get());
|
||||
|
||||
|
@ -151,7 +151,8 @@ NS_IMETHODIMP
|
||||
nsSVGStringProxyValue::SetValueString(const nsAString& aValue)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("nsSVGStringProxyValue(%p)::SetValueString(%s)\n", this, NS_ConvertUTF16toUTF8(aValue).get());
|
||||
printf("nsSVGStringProxyValue(%p)::SetValueString(%s)\n",
|
||||
static_cast<void*>(this), NS_ConvertUTF16toUTF8(aValue).get());
|
||||
#endif
|
||||
if (NS_FAILED(mProxiedValue->SetValueString(aValue))) {
|
||||
#ifdef DEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user