Commits

Anonymous committed 157225f

warnings -= 6

Comments (0)

Files changed (6)

Plugins/Displays/Bezel/GrowlBezelWindowController.m

 
 	READ_GROWL_PREF_INT(BEZEL_SCREEN_PREF, GrowlBezelPrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}

Plugins/Displays/Brushed/GrowlBrushedWindowController.m

 	screenNumber = 0U;
 	READ_GROWL_PREF_INT(GrowlBrushedScreenPref, GrowlBrushedPrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}

Plugins/Displays/Bubbles/GrowlBubblesWindowController.m

 	screenNumber = 0U;
 	READ_GROWL_PREF_INT(GrowlBubblesScreen, GrowlBubblesPrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}

Plugins/Displays/MusicVideo/GrowlMusicVideoWindowController.m

 	screenNumber = 0U;
 	READ_GROWL_PREF_INT(MUSICVIDEO_SCREEN_PREF, GrowlMusicVideoPrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}

Plugins/Displays/Smoke/GrowlSmokeWindowController.m

 	screenNumber = 0U;
 	READ_GROWL_PREF_INT(GrowlSmokeScreenPref, GrowlSmokePrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}

Plugins/Displays/iCal/GrowliCalWindowController.m

 	screenNumber = 0U;
 	READ_GROWL_PREF_INT(GrowliCalScreen, GrowliCalPrefDomain, &screenNumber);
 	NSArray *screens = [NSScreen screens];
-	int screensCount = [screens count];
+	unsigned screensCount = [screens count];
 	if (screensCount) {
 		[self setScreen:((screensCount >= (screenNumber + 1)) ? [screens objectAtIndex:screenNumber] : [screens objectAtIndex:0])];
 	}