Un-const as necessary to silence compiler warnings

This commit is contained in:
Asanka C. Herath
2010-11-18 20:44:40 -05:00
parent d11917211b
commit 880d728e02
10 changed files with 17 additions and 16 deletions

View File

@@ -472,7 +472,7 @@ static struct getargs args[] = {
{ "detach", 0, arg_flag, &detach_from_console,
"detach from console" },
#endif
{ "hostname", 0, arg_string, &slave_str,
{ "hostname", 0, arg_string, rk_UNCONST(&slave_str),
"hostname of slave (if not same as hostname)", "hostname" },
{ "version", 0, arg_flag, &version_flag },
{ "help", 0, arg_flag, &help_flag }