Commits

Peter Hosey committed c710020 Draft

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

  • Participants
  • Parent commits fbba53a
  • Branches modernization

Comments (0)

Files changed (1)

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;