Fix a compilation problem with older compilers.
committer: mfx <mfx> 1110730245 +0000
This commit is contained in:
parent
f788d76b8c
commit
c87908266a
@ -342,7 +342,7 @@ PackMachPPC32::canPack()
|
||||
unsigned char *ptr = (unsigned char *)rawmseg;
|
||||
for (unsigned j= 0; j < mhdri.ncmds; ++j) {
|
||||
msegcmd[j] = *(Mach_segment_command *)ptr;
|
||||
ptr += ((Mach_segment_command *)ptr)->cmdsize;
|
||||
ptr += (unsigned) ((Mach_segment_command *)ptr)->cmdsize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user