summaryrefslogtreecommitdiff
path: root/libbb/chomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/chomp.c')
-rw-r--r--libbb/chomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/chomp.c b/libbb/chomp.c
index e62cb40..111d4cf 100644
--- a/libbb/chomp.c
+++ b/libbb/chomp.c
@@ -32,7 +32,7 @@
void chomp(char *s)
{
- char *lc = (char *)last_char_is(s, '\n');
+ char *lc = last_char_is(s, '\n');
if(lc)
*lc = 0;