> > I suggest we should use a size_t type for params like *_stride > > to avoid (on x86-64) unneeded 32<->64 conversions. > > no, size_t is unsigned, stride must be signed! Right, I think off_t from sys/types.h is a good candidate. It's signed, on x86-32 has 32 bits, on x86-64 has 64 bits. -- to_be || !to_be == 1, to_be | ~to_be == -1