Fix for big endian.

This commit is contained in:
Hidetoshi Shimokawa 2003-06-16 08:29:24 +00:00
parent f79981aca8
commit e47e35e61b

View File

@ -236,8 +236,7 @@ struct crom_chunk {
int ref_index;
int offset;
struct {
u_int32_t crc:16,
crc_len:16;
BIT16x2(crc_len, crc);
u_int32_t buf[CROM_MAX_CHUNK_LEN];
} data;
};