* buffer.h (BUF_BYTES_MAX): Cast to ptrdiff_t so that it's signed.