Warning fix: return discards qualifiers from pointer target type
search.c:312: return discards qualifiers from pointer target type Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Этот коммит содержится в:
родитель
906d25c5c8
Коммит
4fd6869be2
@ -250,8 +250,8 @@ mc_search_get_types_strings_array (void)
|
|||||||
{
|
{
|
||||||
GString *tmp;
|
GString *tmp;
|
||||||
gchar **ret;
|
gchar **ret;
|
||||||
mc_search_type_str_t *type_str;
|
const mc_search_type_str_t *type_str;
|
||||||
mc_search_type_str_t *types_str = mc_search_types_list_get ();
|
const mc_search_type_str_t *types_str = mc_search_types_list_get ();
|
||||||
|
|
||||||
tmp = g_string_new ("");
|
tmp = g_string_new ("");
|
||||||
type_str = types_str;
|
type_str = types_str;
|
||||||
|
@ -306,7 +306,7 @@ mc_search_is_type_avail (mc_search_type_t search_type)
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
mc_search_type_str_t *
|
const mc_search_type_str_t *
|
||||||
mc_search_types_list_get (void)
|
mc_search_types_list_get (void)
|
||||||
{
|
{
|
||||||
return mc_search__list_types;
|
return mc_search__list_types;
|
||||||
|
@ -124,7 +124,7 @@ gboolean mc_search_run (mc_search_t * mc_search, const void *user_data, gsize st
|
|||||||
|
|
||||||
gboolean mc_search_is_type_avail (mc_search_type_t);
|
gboolean mc_search_is_type_avail (mc_search_type_t);
|
||||||
|
|
||||||
mc_search_type_str_t *mc_search_types_list_get (void);
|
const mc_search_type_str_t *mc_search_types_list_get (void);
|
||||||
|
|
||||||
GString *mc_search_prepare_replace_str (mc_search_t * mc_search, GString * replace_str);
|
GString *mc_search_prepare_replace_str (mc_search_t * mc_search, GString * replace_str);
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user