From 2793141df3a7e753acc57e3e11511d96d3fcec69 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 6 Jul 2000 04:31:59 +0000 Subject: [PATCH] (struct quoting_options): Simplify quote_these_too dimension. --- lib/quotearg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.30.2