[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with hfsprogs on G5 Power Macs



On 1/8/19 10:33 AM, Michel Dänzer wrote:
> On 2019-01-07 10:13 p.m., John Paul Adrian Glaubitz wrote:
>>
>> My wild guess would be that the code uses C types which have different
>> lengths on 32- and 64-bit systems where it should really use type with
>> defined lengths, i.e. "uint32" instead of "int".
> 
> FWIW, sizeof(int) == 4 on all Linux platforms.

Yes, I was merely making an example and unfortunately took the one where
that doesn't apply. My point is that certain types can have different
sizes (and alignment) on different targets.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: