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:
alecf%netscape.com
2003-03-25 21:23:44 +00:00
parent d810265b2f
commit cb42ed317c

View File

@@ -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);