Fixes for GCC 3.4

This commit is contained in:
gbeauche 2004-02-16 15:33:22 +00:00
parent d10a3586f1
commit 8b66b778e6

View File

@ -339,10 +339,10 @@ struct SheepRoutineDescriptor
Mac_memset(desc, 0, sizeof(RoutineDescriptor));
WriteMacInt16(desc + offsetof(RoutineDescriptor, goMixedModeTrap), 0xAAFE);
WriteMacInt8 (desc + offsetof(RoutineDescriptor, version), 7);
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procInfo), procInfo);
WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords[0].ISA), 1);
WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords[0].routineFlags), 0 | 0 | 4);
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procDescriptor), procedure);
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procInfo), procInfo);
WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, ISA), 1);
WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, routineFlags), 0 | 0 | 4);
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procDescriptor), procedure);
}
};