gcc warning



gcc gives me the following warning :

warning: passing arg 4 of `gtk_signal_connect_after' makes pointer from
integer without a cast

Here is the line involved :

  gtk_signal_connect_after ( GTK_OBJECT(menuitem), "toggled",
                             GTK_SIGNAL_FUNC(my_function), (gint)TRUE);

but it says nothing for (a few lines below) : 

  gtk_signal_connect_after ( GTK_OBJECT(menuitem), "toggled",
                             GTK_SIGNAL_FUNC(my_function), (gint)FALSE);


Can anyone give me an explanation ?
-- 
Marc
"He's Conan, Cimmerian, he won't cry, so I cry for him."
** ERROR **: sigsegv caught



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