1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-15 11:52:15 +02:00

expand: use signed colno

* src/expand-common.h (colno): Now intmax_t, not uintmax_t.
This commit is contained in:
Paul Eggert
2024-11-06 18:04:35 -08:00
parent e4edd48a2a
commit 6e297e8855

View File

@@ -15,8 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
/* Column numbers are nonnegative, with the leftmost column being zero. */
typedef uintmax_t colno;
/* Column numbers are nonnegative, with the leftmost column being zero.
Use a signed type, as that allows for better checking. */
typedef intmax_t colno;
/* If true, convert blanks even after nonblank characters have been
read on the line. */