Permalink
Browse files

Fixing some new Clang warnings from Xcode 4.4

  • Loading branch information...
1 parent b7dc243 commit 6b7752792d1ee87ca2874e6560427b537746310c @andymatuschak andymatuschak committed Apr 29, 2012
@@ -2,4 +2,4 @@
#include "ConfigCommonDebug.xcconfig"
#include "ConfigBinaryDelta.xcconfig"
-OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG
+OTHER_CFLAGS = -DDEBUG
@@ -2,4 +2,4 @@
#include "ConfigCommonDebug.xcconfig"
#include "ConfigFramework.xcconfig"
-OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG
+OTHER_CFLAGS = -DDEBUG
@@ -2,4 +2,4 @@
#include "ConfigCommonDebug.xcconfig"
#include "ConfigRelaunch.xcconfig"
-OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG
+OTHER_CFLAGS = -DDEBUG
@@ -2,4 +2,4 @@
#include "ConfigCommonDebug.xcconfig"
#include "ConfigTestApp.xcconfig"
-OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG
+OTHER_CFLAGS = -DDEBUG
View
@@ -256,7 +256,7 @@ + (NSString *)systemVersionString
OSErr err3 = Gestalt(gestaltSystemVersionBugFix, &bugfix);
if (!err1 && !err2 && !err3)
{
- verStr = [NSString stringWithFormat:@"%d.%d.%d", major, minor, bugfix];
+ verStr = [NSString stringWithFormat:@"%ld.%ld.%ld", (long)major, (long)minor, (long)bugfix];
}
else
#endif

0 comments on commit 6b77527

Please sign in to comment.