DragonFly commits List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/usr.bin/find Makefile find.c function.c ls.c main.c misc.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]