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 /editors/ed.c | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 (diff) | |
download | busybox-w32-a41fdf331af344ecd3ec230a072857ea197e1890.tar.gz busybox-w32-a41fdf331af344ecd3ec230a072857ea197e1890.tar.bz2 busybox-w32-a41fdf331af344ecd3ec230a072857ea197e1890.zip |
preparatory patch for -Wwrite-strings #1
Diffstat (limited to 'editors/ed.c')
-rw-r--r-- | editors/ed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/ed.c b/editors/ed.c index 3aca75912..5a48fbe75 100644 --- a/editors/ed.c +++ b/editors/ed.c | |||
@@ -401,7 +401,7 @@ static void subCommand(const char * cmd, int num1, int num2) | |||
401 | if (cp) | 401 | if (cp) |
402 | *cp++ = '\0'; | 402 | *cp++ = '\0'; |
403 | else | 403 | else |
404 | cp = ""; | 404 | cp = (char*)""; |
405 | 405 | ||
406 | while (*cp) switch (*cp++) { | 406 | while (*cp) switch (*cp++) { |
407 | case 'g': | 407 | case 'g': |