mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +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.ioNamePtr = frameworkName;
|
||||||
fileRefParam.newRef = &fileRef;
|
fileRefParam.newRef = &fileRef;
|
||||||
|
|
||||||
|
// For some reason an explicit cast satisfies gcc TDG
|
||||||
|
SInt32 fileRefParamIO_DirID = static_cast<SInt32>(fileRefParam.ioDirID);
|
||||||
|
|
||||||
// Frameworks directory/folder
|
// Frameworks directory/folder
|
||||||
err = FindFolder (kSystemDomain, kFrameworksFolderType, false,
|
err = FindFolder (kSystemDomain, kFrameworksFolderType, false,
|
||||||
&fileRefParam.ioVRefNum, &fileRefParam.ioDirID);
|
&fileRefParam.ioVRefNum, &fileRefParamIO_DirID);
|
||||||
if (noErr != err) {
|
if (noErr != err) {
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user