Skip to content

Commit

Permalink
Fix MachO magic number identification
Browse files Browse the repository at this point in the history
  • Loading branch information
saschazelzer committed Apr 12, 2017
1 parent ae83b81 commit 506cfdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/bundle/BundleMachOFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static std::vector<uint32_t> GetMachOIdent()
#ifdef __LP64__
ident[0] = MH_MAGIC_64;
#else
ident[1] = MH_MAGIC;
ident[0] = MH_MAGIC;
#endif

#if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__)
Expand Down

0 comments on commit 506cfdf

Please sign in to comment.