diff --git a/ChangeLog b/ChangeLog index 4be8eed57..c677e930e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-17 Riccardo Mottola + + * Source/NSAnimation.m + Warning fix. + 2013-09-16 Fred Kiefer * Source/NSBrowser.m (-setPath:): Fixed a bug where setting the diff --git a/Source/NSAnimation.m b/Source/NSAnimation.m index 2d43193e9..51e33a0c5 100644 --- a/Source/NSAnimation.m +++ b/Source/NSAnimation.m @@ -534,7 +534,7 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se - (void) removeProgressMark: (NSAnimationProgress)progress { - unsigned index; + NSUInteger index; _NSANIMATION_LOCKING_SETUP; _NSANIMATION_LOCK; @@ -547,8 +547,8 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se GSIArrayRemoveItemAtIndex(_progressMarks,index); _isCachedProgressMarkNumbersValid = NO; if (_nextMark > index) _nextMark--; - NSDebugMLLog(@"NSAnimationMark",@"Remove mark #%d for (next:#%d)", - index, progress, _nextMark); + NSDebugMLLog(@"NSAnimationMark",@"Remove mark #%lu (%f) for (next:#%d)", + (unsigned long)index, progress, _nextMark); } else NSWarnMLog(@"Unexistent progress mark");