fix dumb mac bustage - cast sizeof() to PRUint32
git-svn-id: svn://10.0.0.236/trunk@140279 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -325,7 +325,7 @@ nsHTMLContentSerializer::SerializeAttributes(nsIContent* aContent,
|
||||
const char* sharedName;
|
||||
attrName->GetUTF8String(&sharedName);
|
||||
if ((('_' == *sharedName) || ('-' == *sharedName)) &&
|
||||
!nsCRT::strncmp(sharedName+1, kMozStr, sizeof(kMozStr)-1)) {
|
||||
!nsCRT::strncmp(sharedName+1, kMozStr, PRUint32(sizeof(kMozStr)-1))) {
|
||||
continue;
|
||||
}
|
||||
aContent->GetAttr(namespaceID, attrName, valueStr);
|
||||
|
||||
Reference in New Issue
Block a user