Fixes a compile warning; using NSUInteger in place of unsigned.

This commit is contained in:
Andy Matuschak committed 2008-06-15 17:53:51 -07:00
1 parent c2745f5944
commit 269a648d24
1 file changed
+14 -4
+14 -4
View File
@@ -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];
}