mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 03:43:58 +00:00
Bug 13137. Fix broken usage of CBufDescriptor.
This commit is contained in:
parent
0f3a26fccc
commit
7e0472ef71
@ -651,7 +651,7 @@ RDFContainerImpl::GetNextValue(nsIRDFResource** aResult)
|
||||
}
|
||||
|
||||
char buf[sizeof(kRDFNameSpaceURI) + 16];
|
||||
nsCAutoString nextValStr(CBufDescriptor(buf, PR_TRUE, sizeof(buf)));
|
||||
nsCAutoString nextValStr(CBufDescriptor(buf, PR_TRUE, sizeof(buf), 0));
|
||||
nextValStr = kRDFNameSpaceURI;
|
||||
nextValStr.Append("_");
|
||||
nextValStr.Append(nextVal, 10);
|
||||
|
Loading…
x
Reference in New Issue
Block a user