alexrozanski / PXSourceList

Source List control for the Mac
Other
638 stars 76 forks source link

Correct a cast #21

Closed Abizern closed 12 years ago

alexrozanski commented 12 years ago

Christian already updated %d to %ld in a just-merged pull request.

Abizern commented 12 years ago

Christian corrected %d to %ld but didn't cast the return value of [self badgeValueForItem:rowItem] to (long) as my pull request did.

cf https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html table 3