Weird...



Ok, now I'm probably just missing some -really- simple,
but for some reason I'm getting the following error
when trying to compile my program:

func.c:195: incompatible type for argument 1 of `generate_file_list'

My prototype is the following:

void generate_file_list(GList files, int sort_column, gpointer window);

and I'm calling it like this:

generate_file_list(files, 0, (gpointer)local_win);

Now, what I'm getting out of this error message is that it does
not like me passing 0. Well, I've tried passing 0, (int)0,
(int)39, or even creating a variable integer and passing it
and I always get the same error. Anybody know what I might
be doing wrong here? Thanks in advance...

-- 
+-----------------------------------------------------+
| Jeff "Shippy" Shipman     E-Mail: shippy@cs.nmt.edu |
| Computer Science Major    ICQ: 1786493              |
| New Mexico Institute of Mining and Technology       |
| Homepage: http://www.nmt.edu/~shippy                |
+-----------------------------------------------------+



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