mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Fixes a compile warning; using NSUInteger in place of unsigned.
This commit is contained in:
1 parent
c2745f5944
commit
269a648d24
1 file changed
+14
-4
@@ -21,6 +21,18 @@
|
||||
[checkingController showWindow:self];
|
||||
}
|
||||
|
||||
- (void)closeCheckingWindow
|
||||
{
|
||||
[[checkingController window] close];
|
||||
[checkingController release];
|
||||
}
|
||||
|
||||
- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error
|
||||
{
|
||||
[self closeCheckingWindow];
|
||||
[super appcast:ac failedToLoadWithError:error];
|
||||
}
|
||||
|
||||
- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui
|
||||
{
|
||||
// We don't check to see if this update's been skipped, because the user explicitly *asked* if he had the latest version.
|
||||
@@ -29,15 +41,13 @@
|
||||
|
||||
- (void)didNotFindUpdate
|
||||
{
|
||||
[[checkingController window] close];
|
||||
[checkingController release];
|
||||
[self closeCheckingWindow];
|
||||
[super didNotFindUpdate];
|
||||
}
|
||||
|
||||
- (void)didFindValidUpdate
|
||||
{
|
||||
[[checkingController window] close];
|
||||
[checkingController release];
|
||||
[self closeCheckingWindow];
|
||||
[super didFindValidUpdate];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user