提交 3e71e2a9 编写于 作者: D Download-Fritz

OpenCoreKernel: Fix kernel matching

上级 2d374ec7
......@@ -116,7 +116,7 @@ OcKernelReadDarwinVersion (
INT32 Offset;
UINT32 Index;
CHAR8 DarwinVersion[32];
CHAR8 DarwinVersionInteger;
UINT32 DarwinVersionInteger;
Offset = FindPattern (
......@@ -142,7 +142,7 @@ OcKernelReadDarwinVersion (
DarwinVersion[Index] = (CHAR8) Kernel[Offset];
}
DarwinVersion[Index] = '\0';
DarwinVersionInteger = (CHAR8) OcParseDarwinVersion (DarwinVersion);
DarwinVersionInteger = OcParseDarwinVersion (DarwinVersion);
DEBUG ((
DEBUG_INFO,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册