mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
port patch for 8.33 kHz frequencies
This commit is contained in:
@@ -60,9 +60,12 @@ OSStatus aglInitEntryPoints (void)
|
||||
fileRefParam.ioNamePtr = frameworkName;
|
||||
fileRefParam.newRef = &fileRef;
|
||||
|
||||
// For some reason an explicit cast satisfies gcc TDG
|
||||
SInt32 fileRefParamIO_DirID = static_cast<SInt32>(fileRefParam.ioDirID);
|
||||
|
||||
// Frameworks directory/folder
|
||||
err = FindFolder (kSystemDomain, kFrameworksFolderType, false,
|
||||
&fileRefParam.ioVRefNum, &fileRefParam.ioDirID);
|
||||
&fileRefParam.ioVRefNum, &fileRefParamIO_DirID);
|
||||
if (noErr != err) {
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user