In 2.4dev3 carp.c ROTATE_LEFT is #defined as
#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> ((size(unsigned
long)*8)-(n))))
where is size defined/what is it?
I've changed this to be
#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (((sizeof(unsigned
long)*8)-(n)))))
which should be equally portable, so I don't want to surround it with #ifdef
cygwin....
Rob
Received on Sun Jul 09 2000 - 05:14:20 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:32 MST