diff options
Diffstat (limited to 'findutils/find.c')
-rw-r--r-- | findutils/find.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index 86f787d3f..21584681b 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -881,7 +881,9 @@ USE_FEATURE_FIND_MAXDEPTH(OPT_MAXDEPTH,) | |||
881 | fileAction, /* file action */ | 881 | fileAction, /* file action */ |
882 | fileAction, /* dir action */ | 882 | fileAction, /* dir action */ |
883 | #if ENABLE_FEATURE_FIND_MAXDEPTH | 883 | #if ENABLE_FEATURE_FIND_MAXDEPTH |
884 | (void*)maxdepth,/* user data */ | 884 | /* double cast suppresses |
885 | * "cast to ptr from int of different size" */ | ||
886 | (void*)(ptrdiff_t)maxdepth,/* user data */ | ||
885 | #else | 887 | #else |
886 | NULL, /* user data */ | 888 | NULL, /* user data */ |
887 | #endif | 889 | #endif |