*REALLY* easy question for ya..



I don't like compiler warnings, and I've got one I can't seem to get rid
of.  Given the following code:

-->
gint bounceSlider(gpointer *data);

(and later on)

trigger = gtk_timeout_add(250, bounceSlider, v_error);
-->

I'm getting a "warning: passing arg 2 of `gtk_timeout_add' from 
incompatible pointer type" message.  None of the gtk_timeout_add()
examples I've seen cast the second arg to anything special.  What is wrong
with this?

Dan 
 ____    Kressin   ____   .-----------------------------------. 
/___ \____________/ __ \  | dkressin@acm.org                  |
    \  \    /      /  \ | | Lead Programmer/Analyst           |
 ___/ __\/\/rench_ \__/ | | University of Wisconsin - Oshkosh |
\____/            \____/  | www.mio.uwosh.edu/~kressd11/      |
                          `-----------------------------------'



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