Frameworks/Adium Framework/Source/AIXMLElement.m
branchadium-1.5.11
changeset 6016 325e2ab3406f
parent 3568 1cd209516587
--- a/Frameworks/Adium Framework/Source/AIXMLElement.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIXMLElement.m	Thu Nov 14 21:09:06 2019 -0500
@@ -141,9 +141,9 @@
  */
 - (void)setAttributeNames:(NSArray *)newAttrNames values:(NSArray *)newAttrVals
 {
-	NSAssert2([newAttrNames count] == [newAttrVals count], @"Attribute names and values have different lengths, %ui and %ui respectively", [newAttrNames count], [newAttrVals count]);
+	NSAssert2([newAttrNames count] == [newAttrVals count], @"Attribute names and values have different lengths, %lui and %lui respectively", (unsigned long)[newAttrNames count], [newAttrVals count]);
 	NSUInteger numberOfDuplicates = [newAttrNames count] - [[NSSet setWithArray:newAttrNames] count];
-	NSAssert1(numberOfDuplicates == 0, @"Duplicate attributes are not allowed; found %ui duplicate(s)",  numberOfDuplicates);
+    NSAssert1(numberOfDuplicates == 0, @"Duplicate attributes are not allowed; found %lui duplicate(s)", (unsigned long)numberOfDuplicates);
 	
 	[attributeNames setArray:newAttrNames];
 	[attributeValues setArray:newAttrVals];