adium 5348:a4f689d8f3a4: Upgrade project settings, fix two warni...

commits at adium.im commits at adium.im
Thu Feb 21 22:12:16 UTC 2013


details:	http://hg.adium.im/adium/rev/a4f689d8f3a4
revision:	5348:a4f689d8f3a4
branch:		(none)
author:		Adrian Godoroja <robotive at icloud.com>
date:		Thu Feb 21 23:12:07 2013 +0100

Upgrade project settings, fix two warnings.

diffs (46 lines):

diff -r 94b3acee0622 -r a4f689d8f3a4 Adium.xcodeproj/project.pbxproj
--- a/Adium.xcodeproj/project.pbxproj	Thu Feb 21 21:53:27 2013 +0100
+++ b/Adium.xcodeproj/project.pbxproj	Thu Feb 21 23:12:07 2013 +0100
@@ -12550,6 +12550,8 @@
 			isa = XCBuildConfiguration;
 			baseConfigurationReference = 63C7E02A0FAF9BA800B310AC /* Debug.xcconfig */;
 			buildSettings = {
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.7.5;
 			};
 			name = Debug;
 		};
@@ -12557,6 +12559,8 @@
 			isa = XCBuildConfiguration;
 			baseConfigurationReference = 63C7E02B0FAF9BA800B310AC /* Release.xcconfig */;
 			buildSettings = {
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.7.5;
 			};
 			name = Release;
 		};
@@ -12564,6 +12568,8 @@
 			isa = XCBuildConfiguration;
 			baseConfigurationReference = 63C7E02C0FAF9BA800B310AC /* Release-Debug.xcconfig */;
 			buildSettings = {
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.7.5;
 			};
 			name = "Release-Debug";
 		};
diff -r 94b3acee0622 -r a4f689d8f3a4 Plugins/Purple Service/adiumPurpleEventloop.m
--- a/Plugins/Purple Service/adiumPurpleEventloop.m	Thu Feb 21 21:53:27 2013 +0100
+++ b/Plugins/Purple Service/adiumPurpleEventloop.m	Thu Feb 21 23:12:07 2013 +0100
@@ -69,10 +69,10 @@
 }
 
 static inline dispatch_source_t sourceForTag(guint tag) {
-    return [sourceInfoDict() objectForKey:@(tag)];
+    return (__bridge dispatch_source_t)([sourceInfoDict() objectForKey:@(tag)]);
 }
 static inline void setSourceForTag(dispatch_source_t source, guint tag) {
-	[sourceInfoDict() setObject:source forKey:@(tag)];
+	[sourceInfoDict() setObject:(__bridge id)(source) forKey:@(tag)];
 }
 static inline void removeSourceForTag(guint tag) {
 	[sourceInfoDict() removeObjectForKey:@(tag)];




More information about the commits mailing list