Re: fix for: assignment discards qualifiers from pointer target type



On Wed, 14 Jul 2004 20:53:16 -0700, Carl B. Constantine
<duckwing duckwing ca> wrote:
> gchar   *userid = NULL;
> 
> userid = gtk_entry_get_text(GTK_ENTRY(lookup_widget(logon, "password)));

Try

  const char *userid = gtk_entry_get_text( GTK_ENTRY( ...

John



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