warning fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2013-09-17 09:39:47 +00:00
parent 581d7fcd0c
commit 5478f1e00c
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2013-09-17 Riccardo Mottola <rm@gnu.org>
* Source/NSAnimation.m
Warning fix.
2013-09-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the

View file

@ -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");