From: Jim Meyering Date: Thu, 6 Jul 2000 04:31:59 +0000 (+0000) Subject: (struct quoting_options): Simplify quote_these_too dimension. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2793141df3a7e753acc57e3e11511d96d3fcec69;p=pspp (struct quoting_options): Simplify quote_these_too dimension. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index 553a0f0c38..a1ccb3b8fd 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -101,8 +101,7 @@ struct quoting_options /* Quote the characters indicated by this bit vector even if the quoting style would not normally require them to be quoted. */ - int quote_these_too[((UCHAR_MAX + 1) / INT_BITS - + ((UCHAR_MAX + 1) % INT_BITS != 0))]; + int quote_these_too[(UCHAR_MAX / INT_BITS) + 1]; }; /* Names of quoting styles. */