korli@xxxxxxxxxxxxxxxx wrote: > Log: > Only swap words on little endian machines. Checked against FreeBSD. [...] > - *word = (*word << 8) | (*word >> 8); > + *word = B_BENDIAN_TO_HOST_INT16(*word); That seems to be the wrong place for this, though; the whole loop is superfluous depending on the endian. Bye, Axel.