mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 12:21:55 +00:00
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:
parent
00dc04169b
commit
7535e30d2d
2 changed files with 8 additions and 3 deletions
|
@ -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>
|
2013-09-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the
|
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the
|
||||||
|
|
|
@ -534,7 +534,7 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se
|
||||||
|
|
||||||
- (void) removeProgressMark: (NSAnimationProgress)progress
|
- (void) removeProgressMark: (NSAnimationProgress)progress
|
||||||
{
|
{
|
||||||
unsigned index;
|
NSUInteger index;
|
||||||
_NSANIMATION_LOCKING_SETUP;
|
_NSANIMATION_LOCKING_SETUP;
|
||||||
|
|
||||||
_NSANIMATION_LOCK;
|
_NSANIMATION_LOCK;
|
||||||
|
@ -547,8 +547,8 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se
|
||||||
GSIArrayRemoveItemAtIndex(_progressMarks,index);
|
GSIArrayRemoveItemAtIndex(_progressMarks,index);
|
||||||
_isCachedProgressMarkNumbersValid = NO;
|
_isCachedProgressMarkNumbersValid = NO;
|
||||||
if (_nextMark > index) _nextMark--;
|
if (_nextMark > index) _nextMark--;
|
||||||
NSDebugMLLog(@"NSAnimationMark",@"Remove mark #%d for (next:#%d)",
|
NSDebugMLLog(@"NSAnimationMark",@"Remove mark #%lu (%f) for (next:#%d)",
|
||||||
index, progress, _nextMark);
|
(unsigned long)index, progress, _nextMark);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
NSWarnMLog(@"Unexistent progress mark");
|
NSWarnMLog(@"Unexistent progress mark");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue