diff --git a/stepmania/PBProject/Installer/Helper.mm b/stepmania/PBProject/Installer/Helper.mm index c5784eecb5..185b582c16 100644 --- a/stepmania/PBProject/Installer/Helper.mm +++ b/stepmania/PBProject/Installer/Helper.mm @@ -62,7 +62,7 @@ void HandleFile(const CString& file, const CString& dir, const CString& archiveP status = AuthorizationExecuteWithPrivileges(auth, path, kAuthorizationFlagDefaults, arguments+1, NULL); if (status != errAuthorizationSuccess) [c postMessage:@"failed"]; - wait(&int(status)); + wait((int*)&status); } else { diff --git a/stepmania/PBProject/Installer/main.c b/stepmania/PBProject/Installer/main.c index d04f7378d2..f291777ad2 100644 --- a/stepmania/PBProject/Installer/main.c +++ b/stepmania/PBProject/Installer/main.c @@ -7,7 +7,7 @@ * */ -#include +#import enum {