expand: use signed colno

* src/expand-common.h (colno): Now intmax_t, not uintmax_t.
This commit is contained in:
Paul Eggert committed 2024-11-08 23:41:18 -08:00
1 parent e4edd48a2a
commit 6e297e8855
1 file changed
+3 -2
+3 -2
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. */