Fixed endian problems and removed all bitfields.
Authored by: zagor 2002-01-29
Parent: [r1379]
Child: [r1381]