[parted-devel] Regarding little and big endian support
xerces8
xerces8 at butn.net
Sat Jan 5 16:08:27 UTC 2008
James Courtier-Dutton <James at superbug.co.uk> wrote :
> xerces8 wrote:
> > "Avinash Malik" <avimalik at gmail.com> wrote:
> >
> >
> >> #ifdef __LITTLE_ENDIAN
> >> sblock.fs_version = PED_CPU_TO_LE32(fs_verison)
> >> #endif
> >> #ifdef __BIG_ENDIAN
> >> sblock.fs_version = PED_CPU_TO_BE32(fs_version)
> >> #endif
> >>
> >
> > This is the same as simply : sblock.fs_version = fs_version;
> >
> No it is not.
>
More information about the parted-devel
mailing list