diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-09-12 05:56:42 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-09-12 05:56:42 +0000 |
commit | 0c1a521ce5da7372aaeb9a58ca55b43ba94611b8 (patch) | |
tree | 8e393e37e222de5c53c5672cbc51b8a28cd936e3 /package/config/mconf.c | |
parent | 079929e7647e9e7b327e215ef1fba6856a68bf67 (diff) |
Watching all the warnings on package/config finally got to me.
A patch that clears the gcc warnings from config with cast changes only.
thanks, I feel better now,
Rick Foos <rick@synchromeshcomputing.com>
Diffstat (limited to 'package/config/mconf.c')
-rw-r--r-- | package/config/mconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/config/mconf.c b/package/config/mconf.c index 3288822f1..9dd462bae 100644 --- a/package/config/mconf.c +++ b/package/config/mconf.c @@ -413,7 +413,7 @@ again: return; } - sym_arr = sym_re_search(dialog_input_result); + sym_arr = sym_re_search((char *)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, dialog_input_result)) + if (sym_set_string_value(menu->sym, (char *)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(dialog_input_result)) + if (!conf_read((char *)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(dialog_input_result)) + if (!conf_write((char *)dialog_input_result)) return; show_textbox(NULL, _("Can't create file! Probably a nonexistent directory."), 5, 60); break; |