Re: [gtk-list] Re: Converting pointers
- From: Havoc Pennington <hp redhat com>
- To: tekatch idirect com
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Converting pointers
- Date: 01 Jan 2000 01:52:37 -0500
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]