Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed OSStatus var in format string from throwing warnings both on ma…

…c & iphone this time
  • Loading branch information...
commit ed6a9641626b22b1927af006709ae487c73a03b7 1 parent 29ca30f
@jfro jfro authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ALBuffer.m
View
4 ALBuffer.m
@@ -109,7 +109,7 @@ - (BOOL)loadURL:(NSURL *)url
err = ExtAudioFileGetProperty(extRef, kExtAudioFileProperty_FileDataFormat, &thePropertySize, &inFormat);
if (err)
{
- printf("ExtAudioFileGetProperty(kExtAudioFileProperty_FileDataFormat) FAILED, Error = %i\n", err);
+ printf("ExtAudioFileGetProperty(kExtAudioFileProperty_FileDataFormat) FAILED, Error = %ld\n", (long)err);
goto Exit;
}
@@ -171,7 +171,7 @@ - (BOOL)loadURL:(NSURL *)url
// failure
free(theData);
theData = NULL; // make sure to return NULL
- printf("ExtAudioFileRead FAILED, Error = %i\n", err);
+ printf("ExtAudioFileRead FAILED, Error = %ld\n", (long)err);
goto Exit;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.