From: Jim Meyering Date: Sun, 3 Dec 2000 11:00:06 +0000 (+0000) Subject: use CHAR_BIT, not BITSPERBYTE X-Git-Tag: TEXTUTILS-2_0_9^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=523312110255070803b4b32714665b8d70b0c99e;p=platform%2Fupstream%2Fcoreutils.git use CHAR_BIT, not BITSPERBYTE --- diff --git a/src/od.c b/src/od.c index 26afa81..9ea7a52 100644 --- a/src/od.c +++ b/src/od.c @@ -155,7 +155,7 @@ static const char *output_address_fmt_string; /* The number of octal digits required to represent the largest off_t value. */ #define MAX_ADDRESS_LENGTH \ - ((sizeof (off_t) * BITSPERBYTE + BITSPERBYTE - 1) / 3) + ((sizeof (off_t) * CHAR_BIT + CHAR_BIT - 1) / 3) /* Space for a normal address, a space, a pseudo address, parentheses around the pseudo address, and a trailing zero byte. */