Commit 5b935e5c authored by Christophe Mutricy's avatar Christophe Mutricy

Const police

parent 3cf4ef1e
......@@ -295,7 +295,7 @@ static struct config_category_t categories_array[] =
{ -1, NULL, NULL }
};
static inline char *config_CategoryNameGet( int i_value )
static inline const char *config_CategoryNameGet( int i_value )
{
int i = 0 ;
while( categories_array[i].psz_name != NULL )
......@@ -309,7 +309,7 @@ static inline char *config_CategoryNameGet( int i_value )
return NULL;
}
static inline char *config_CategoryHelpGet( int i_value )
static inline const char *config_CategoryHelpGet( int i_value )
{
int i = 0 ;
while( categories_array[i].psz_help != NULL )
......
......@@ -97,7 +97,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
for (size_t i = 0; i < p_module->confsize; i++)
{
const module_config_t *p_item = p_module->p_config + i;
char *psz_help;
const char *psz_help;
QIcon icon;
switch( p_item->i_type )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment