summaryrefslogtreecommitdiffstats
path: root/package/config/mconf.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-12 07:05:52 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-12 07:05:52 +0000
commit9952cfa5c429dc2ee3ba4b24a7974c91bf9a3d29 (patch)
tree33c2e9bb5961c2a517208b05c7f4b22c14b82038 /package/config/mconf.c
parent0c1a521ce5da7372aaeb9a58ca55b43ba94611b8 (diff)
downloadbuildroot-novena-9952cfa5c429dc2ee3ba4b24a7974c91bf9a3d29.tar.gz
buildroot-novena-9952cfa5c429dc2ee3ba4b24a7974c91bf9a3d29.zip
- revert r19825. Fix this in the kernel instead and read README.buildroot2
Diffstat (limited to 'package/config/mconf.c')
-rw-r--r--package/config/mconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/config/mconf.c b/package/config/mconf.c
index 9dd462bae..3288822f1 100644
--- a/package/config/mconf.c
+++ b/package/config/mconf.c
@@ -413,7 +413,7 @@ again:
return;
}
- sym_arr = sym_re_search((char *)dialog_input_result);
+ sym_arr = sym_re_search(dialog_input_result);
res = get_relations_str(sym_arr);
free(sym_arr);
show_textbox(_("Search Results"), str_get(&res), 0, 0);
@@ -789,7 +789,7 @@ static void conf_string(struct menu *menu)
sym_get_string_value(menu->sym));
switch (res) {
case 0:
- if (sym_set_string_value(menu->sym, (char *)dialog_input_result))
+ if (sym_set_string_value(menu->sym, dialog_input_result))
return;
show_textbox(NULL, _("You have made an invalid entry."), 5, 43);
break;
@@ -814,7 +814,7 @@ static void conf_load(void)
case 0:
if (!dialog_input_result[0])
return;
- if (!conf_read((char *)dialog_input_result))
+ if (!conf_read(dialog_input_result))
return;
show_textbox(NULL, _("File does not exist!"), 5, 38);
break;
@@ -838,7 +838,7 @@ static void conf_save(void)
case 0:
if (!dialog_input_result[0])
return;
- if (!conf_write((char *)dialog_input_result))
+ if (!conf_write(dialog_input_result))
return;
show_textbox(NULL, _("Can't create file! Probably a nonexistent directory."), 5, 60);
break;