fixes for big-endian machines (patch by Ben Capper <benandeve@...>)
Authored by: rbultje 2004-12-29
Parent: [r2595]
Child: [r2597]