diff options
author | Denis Vlasenko | 2007-01-29 22:51:00 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-29 22:51:00 +0000 |
commit | a41fdf331af344ecd3ec230a072857ea197e1890 (patch) | |
tree | 70ffff0b7f48b35a70b8b04253abe9118ded6026 /coreutils/yes.c | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 (diff) | |
download | busybox-a41fdf331af344ecd3ec230a072857ea197e1890.zip busybox-a41fdf331af344ecd3ec230a072857ea197e1890.tar.gz |
preparatory patch for -Wwrite-strings #1
Diffstat (limited to 'coreutils/yes.c')
-rw-r--r-- | coreutils/yes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/yes.c b/coreutils/yes.c index 894506a..fc6e611 100644 --- a/coreutils/yes.c +++ b/coreutils/yes.c @@ -22,7 +22,7 @@ int yes_main(int argc, char **argv) const char *fmt; char **first_arg; - *argv = "y"; + *argv = (char*)"y"; if (argc != 1) { ++argv; } |