Silence cut so it doesn't whine during compilation

This commit is contained in:
Eric Andersen 2001-05-07 23:07:17 +00:00
parent f3f9f3efa7
commit de0ca0cd9e
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ static void decompose_list(const char *list)
/* handle multi-value cases */
else if (nminus == 1) {
/* handle 'N-' case */
if (last_char_is(list,'-')) {
if (last_char_is((char *)list,'-')) {
startpos = strtol(list, &ptr, 10);
}
/* handle '-M' case */

2
cut.c
View File

@ -75,7 +75,7 @@ static void decompose_list(const char *list)
/* handle multi-value cases */
else if (nminus == 1) {
/* handle 'N-' case */
if (last_char_is(list,'-')) {
if (last_char_is((char *)list,'-')) {
startpos = strtol(list, &ptr, 10);
}
/* handle '-M' case */