Commits

Peter Hosey  committed b75d6b7

Fix a couple of incorrectly-specified types in a format string.

  • Participants
  • Parent commits 8e47800
  • Branches core-animation

Comments (0)

Files changed (1)

File CPUUsageMonitor.m

 	NSView *contentView = [target isKindOfClass:[NSWindow class]] ? [target contentView] : target;
 	unsigned CPUNum = 0U;
 	if(numCellsMissing) {
-		NSAssert(floaterOddCellsEnum != nil, @"We need to draw %lu odd cells (%lu cells missing), but did not create an odd-cells enumerator", numOddCells, numCellsMissing);
+		NSAssert(floaterOddCellsEnum != nil, @"We need to draw %u odd cells (%f cells missing), but did not create an odd-cells enumerator", numOddCells, numCellsMissing);
 		while(numOddCells--) {
 			NSRect oddCellRect = [floaterOddCellsEnum nextRect];
 			oddCellRect.origin.y += offsetY;