diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:00 +0000 |
commit | a41fdf331af344ecd3ec230a072857ea197e1890 (patch) | |
tree | 70ffff0b7f48b35a70b8b04253abe9118ded6026 /coreutils/head.c | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 (diff) |
preparatory patch for -Wwrite-strings #1
Diffstat (limited to 'coreutils/head.c')
-rw-r--r-- | coreutils/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index 56e7a960c..59b4d552c 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -92,7 +92,7 @@ int head_main(int argc, char **argv) argv += optind; if (!*argv) { - *--argv = "-"; + *--argv = (char*)"-"; } fmt = header_fmt_str + 1; |