diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 01:51:00 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-30 01:51:00 +0300 |
commit | a41fdf331af344ecd3ec230a072857ea197e1890 (patch) | |
tree | 70ffff0b7f48b35a70b8b04253abe9118ded6026 /coreutils/ln.c | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 (diff) |
preparatory patch for -Wwrite-strings #1
Diffstat (limited to 'coreutils/ln.c')
-rw-r--r-- | coreutils/ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c index 231a3bf03..a307e5579 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c @@ -26,7 +26,7 @@ int ln_main(int argc, char **argv) char *last; char *src_name; char *src; - char *suffix = "~"; + char *suffix = (char*)"~"; struct stat statbuf; int (*link_func)(const char *, const char *); |