Skip to contentSkip to conversation

Endian problem of nftl_format and nftldump

PATCH New heechul Yun 1 participant 1 message Dec 17, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Endian problem of nftl_format and nftldump

Hello

It seems that both programs should #include <endian.h>.
If not, the following code can cause problem as it becomes always true.

#if __BYTE_ORDER == __BIG_ENDIAN
...

Regards,
Heechul.

===========
Heechul Yun
Digital Media Research Center
Samsung Electronics
Tel: +82-31-200-9334