Bug 535106 solaris nsTraceRefcntImpl.cpp Error: Overloading ambiguity between "nsACString_internal::AppendInt(int)" and "nsACString_internal::AppendInt(unsigned)".

hi
r=smaug
This commit is contained in:
timeless@mozdev.org 2009-12-16 14:50:07 +01:00
parent a2cdef8b23
commit c3279c224a

View File

@ -644,7 +644,7 @@ static PRBool InitLog(const char* envVar, const char* msg, FILE* *result)
fname.AppendLiteral("_");
fname.Append((char*)XRE_ChildProcessTypeToString(XRE_GetProcessType()));
fname.AppendLiteral("_pid");
fname.AppendInt(getpid());
fname.AppendInt((PRUint32)getpid());
if (hasLogExtension)
fname.AppendLiteral(".log");
}