From ba840923261515adb8fb61f76ac26921d7111e52 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 18 Mar 2003 08:43:57 +0000 Subject: [struct Word] (paren, period, punct, final): Change the type of each member from bool :1 to unsigned int :1. AIX 5.1's xlc could not compile the former. --- src/fmt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fmt.c') diff --git a/src/fmt.c b/src/fmt.c index 66f0983e0..c6fe5ba40 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -1,5 +1,5 @@ /* GNU fmt -- simple text formatter. - Copyright (C) 1994-2002 Free Software Foundation, Inc. + Copyright (C) 1994-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -134,10 +134,10 @@ struct Word const char *text; /* the text of the word */ int length; /* length of this word */ int space; /* the size of the following space */ - bool paren:1; /* starts with open paren */ - bool period:1; /* ends in [.?!])* */ - bool punct:1; /* ends in punctuation */ - bool final:1; /* end of sentence */ + unsigned int paren:1; /* starts with open paren */ + unsigned int period:1; /* ends in [.?!])* */ + unsigned int punct:1; /* ends in punctuation */ + unsigned int final:1; /* end of sentence */ /* The remaining fields are computed during the optimization. */ -- cgit v1.2.3-54-g00ecf