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 16:54:37 -0500
Anthony Tekatch <tekatch@idirect.com> writes:
> I think I'm back to where I started from with the following warning:
> warning: passing arg 4 of `gtk_ctree_insert_node' from incompatible pointer type
>
> The GTK documentation defines gtk_ctree_insert_node arg 4 as:
> gchar *text[],
>
> The libxml tree.h file defines name as:
> const xmlChar *name; /* the name of the node, or the entity */
>
> My program works fine but I don't like seeing those warnings during the
> compile. Is there any way to convert the pointer without getting the warning?
>
Looks like you need a cast.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]