Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan

This commit is contained in:
Birunthan Mohanathas
2013-10-10 16:41:39 -04:00
parent 52e24d677b
commit d655a19190
34 changed files with 171 additions and 165 deletions

View File

@@ -97,7 +97,7 @@ char *nsID::ToString() const
{
char *res = (char*)NS_Alloc(NSID_LENGTH);
if (res != NULL) {
if (res != nullptr) {
PR_snprintf(res, NSID_LENGTH, gIDFormat,
m0, (uint32_t) m1, (uint32_t) m2,
(uint32_t) m3[0], (uint32_t) m3[1], (uint32_t) m3[2],