bitops and endianness

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Wed, 4 Feb 1998 13:28:42 +0100 (CET)


Wouldn't it be better to declare the bitops to take a pointer to an unsigned
long, instead of a void *? Then we would at least get a warning when a little
endian guy does bitops on a char.

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium