From de0ca0cd9ee677a1d465039e30235d0fe63e5558 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 7 May 2001 23:07:17 +0000 Subject: [PATCH] Silence cut so it doesn't whine during compilation --- coreutils/cut.c | 2 +- cut.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreutils/cut.c b/coreutils/cut.c index efcb325df..69f8010d2 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c @@ -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 */ diff --git a/cut.c b/cut.c index efcb325df..69f8010d2 100644 --- a/cut.c +++ b/cut.c @@ -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.25.1