[PATCH 2/2] parse-datetime: INT_BITS → INT_WIDTH in comments

Paul Eggert <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
---
 lib/parse-datetime.y        | 6 +++---
 tests/test-parse-datetime.c | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/parse-datetime.y b/lib/parse-datetime.y
index d1a2436be9..22894f3091 100644
--- a/lib/parse-datetime.y
+++ b/lib/parse-datetime.y
@@ -73,9 +73,9 @@
 
 /* Shift A right by B bits portably, by dividing A by 2**B and
    truncating towards minus infinity.  A and B should be free of side
-   effects, and B should be in the range 0 <= B <= INT_BITS - 2, where
-   INT_BITS is the number of useful bits in an int.  GNU code can
-   assume that INT_BITS is at least 32.
+   effects, and B should be in the range 0 <= B <= INT_WIDTH - 2, where
+   INT_WIDTH is the number of useful bits in an int.  GNU code can
+   assume that INT_WIDTH is at least 32.
 
    ISO C99 says that A >> B is implementation-defined if A < 0.  Some
    implementations (e.g., UNICOS 9.0 on a Cray Y-MP EL) don't shift
diff --git a/tests/test-parse-datetime.c b/tests/test-parse-datetime.c
index a4b9fb0643..8bb3459f3a 100644
--- a/tests/test-parse-datetime.c
+++ b/tests/test-parse-datetime.c
@@ -52,9 +52,9 @@ static const char *const day_table[] =
 #if ! HAVE_STRUCT_TM_TM_GMTOFF
 /* Shift A right by B bits portably, by dividing A by 2**B and
    truncating towards minus infinity.  A and B should be free of side
-   effects, and B should be in the range 0 <= B <= INT_BITS - 2, where
-   INT_BITS is the number of useful bits in an int.  GNU code can
-   assume that INT_BITS is at least 32.
+   effects, and B should be in the range 0 <= B <= INT_WIDTH - 2, where
+   INT_WIDTH is the number of useful bits in an int.  GNU code can
+   assume that INT_WIDTH is at least 32.
 
    ISO C99 says that A >> B is implementation-defined if A < 0.  Some
    implementations (e.g., UNICOS 9.0 on a Cray Y-MP EL) don't shift
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.