Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
apple: Patched to compile with older (mac 10.7) SDKs (thanks, Ken and…
… Ryan!).
  • Loading branch information
icculus committed Mar 24, 2018
1 parent 0bad12d commit 7394c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs_platform_apple.m
Expand Up @@ -50,7 +50,7 @@ void __PHYSFS_platformDeinit(void)
{
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, TRUE);
BAIL_IF(!paths, PHYSFS_ERR_OS_ERROR, NULL);
NSString *path = (NSString *) paths[0];
NSString *path = (NSString *) [paths objectAtIndex:0];
BAIL_IF(!path, PHYSFS_ERR_OS_ERROR, NULL);
size_t len = [path lengthOfBytesUsingEncoding:NSUTF8StringEncoding];
const size_t applen = strlen(app);
Expand Down

0 comments on commit 7394c07

Please sign in to comment.