mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 14:42:11 +00:00
Fix a Mach-O magic check. Spotted by mbealby@gmail.com.
svn path=/trunk/; revision=20009
This commit is contained in:
parent
b596e807a6
commit
188a82d7eb
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ InternalGetBinaryType(HANDLE hFile)
|
||||||
|
|
||||||
/* Mach-o File with Endian set to Big Endian or Little Endian*/
|
/* Mach-o File with Endian set to Big Endian or Little Endian*/
|
||||||
if(Header.macho.magic == 0xFEEDFACE ||
|
if(Header.macho.magic == 0xFEEDFACE ||
|
||||||
Header.macho.magic == 0xECAFDEEF)
|
Header.macho.magic == 0xCEFAEDFE)
|
||||||
{
|
{
|
||||||
switch(Header.macho.filetype)
|
switch(Header.macho.filetype)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue