Skip to content

Commit

Permalink
64bits
Browse files Browse the repository at this point in the history
  • Loading branch information
LorienMan committed Feb 9, 2015
1 parent 175bd52 commit 8947ed7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions Finch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = "$(ARCHS_STANDARD)";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
Expand All @@ -393,7 +393,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
SDKROOT = iphoneos;
};
name = Debug;
Expand All @@ -402,7 +402,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = "$(ARCHS_STANDARD)";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
Expand All @@ -414,7 +414,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
Expand All @@ -423,12 +423,13 @@
0D2AA94C14174FA000F4071B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ENABLE_OBJC_ARC = YES;
DSTROOT = /tmp/Finch.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Finch/prefix.pch;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -438,12 +439,13 @@
0D2AA94D14174FA000F4071B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ENABLE_OBJC_ARC = YES;
DSTROOT = /tmp/Finch.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Finch/prefix.pch;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
2 changes: 1 addition & 1 deletion Finch/FISound.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ - (id) initWithSample: (FISample*) sample error: (NSError**) error

// Pass sound data to OpenAL
CLEAR_ERROR_FLAG;
alBufferData(buffer, [sample openALFormat], [[sample data] bytes], [[sample data] length], [sample sampleRate]);
alBufferData(buffer, [sample openALFormat], [[sample data] bytes], (ALsizei) [[sample data] length], (ALsizei) [sample sampleRate]);
if (alGetError()) {
*error = [FIError
errorWithMessage:@"Failed to fill OpenAL buffers."
Expand Down

0 comments on commit 8947ed7

Please sign in to comment.