mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
expand: use signed colno
* src/expand-common.h (colno): Now intmax_t, not uintmax_t.
This commit is contained in:
1 parent
e4edd48a2a
commit
6e297e8855
1 file changed
+3
-2
+3
-2
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user