Hi,

"Ben LeMasurier" <[EMAIL PROTECTED]> writes:

> i am trying to take the contents of of text entry and push them into
> gethostbyname(), when I do this I get the error:
> 
> warning: assignment makes pointer from integer without a cast
> 
> gethostbyname() requests a char *
> and gtk_entry_get_text() returns G_CONST_RETURN gchar*
> 
> How do I cast this? or do whatever it is so it takes the variable?

this should work out of the box. You better show us your code since
its likely that you are not doing things the way you told us. Are you
at all sure that the warning comes from this particular assignment?


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to