libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Invalid/bad directory errors with openSUSE Leap 15.0


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] Invalid/bad directory errors with openSUSE Leap 15.0 ISO
Date: Sat, 26 May 2018 22:36:58 +0200

Hi,

i wrote:
> This brings me to a potential problem with endianness:
> return (UINT32_C(0xFFFFFFFF) & p);

I meanwhile understand that it is safe.
On a big-endian machine, "0xFFFFFFFF &" will keep bytes 4 to 7 of p,
which are correctly formatted as big-endian 32 bit value.

So there only remains my agrrement to Pete's proposal and my add-on
proposal to not let from_733() emit a warning message.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]