Re: [gtk-list] Re: Converting pointers



Anthony Tekatch <tekatch@idirect.com> writes:
> 
>   text[0] = group->name;
> 
> produces this warning:
> 
>   warning: assignment discards `const' from pointer target type    
> 

if group->name is const then you need to make it const gchar*
text[].

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]