Hey everyone,

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?

Thanks,

Ben LeMasurier

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail


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

Reply via email to