summaryrefslogtreecommitdiff
path: root/cut.c
diff options
context:
space:
mode:
authorEric Andersen2001-05-07 23:07:17 +0000
committerEric Andersen2001-05-07 23:07:17 +0000
commitde0ca0cd9ee677a1d465039e30235d0fe63e5558 (patch)
tree9d1b348ff2b00a3abd513de1eebce140153c5f87 /cut.c
parentf3f9f3efa725f487e336662289a5d78de9ef38e9 (diff)
downloadbusybox-de0ca0cd9ee677a1d465039e30235d0fe63e5558.zip
busybox-de0ca0cd9ee677a1d465039e30235d0fe63e5558.tar.gz
Silence cut so it doesn't whine during compilation
Diffstat (limited to 'cut.c')
-rw-r--r--cut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cut.c b/cut.c
index efcb325..69f8010 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 */