On Sun, Feb 13, 2005 at 04:39:04PM -0800, Chris Pressey wrote:
> - Use explicit cast when calling fts_open().
@@ -175,7 +175,9 @@ find_execute(PLAN *plan, char *paths[])
PLAN *p;
int rval;
- tree = fts_open(paths, ftsoptions, (issort ? find_compare : NULL));
+ tree = fts_open(paths, ftsoptions,
+ (int (*)(const FTSENT **, const FTSENT **))
+ (issort ? find_compare : NULL));
if (tree == NULL)
err(1, "ftsopen");
Can you fix the prototype of find_compare instead?
Joerg