aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-23 10:52:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-23 10:52:52 +0000
commit6ee023cf629c83af8d10b383ab0780ec043f0785 (patch)
tree4ec08b459891bde261e36eef785e92eb71bac44c /findutils/find.c
parentde4c5d3d8c77f0c1f68b72fff3d7e3be0dc2dec2 (diff)
downloadbusybox-6ee023cf629c83af8d10b383ab0780ec043f0785.tar.gz
*: compile fixes for 64-bit build
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c4
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,)
fileAction, /* file action */
fileAction, /* dir action */
#if ENABLE_FEATURE_FIND_MAXDEPTH
- (void*)maxdepth,/* user data */
+ /* double cast suppresses
+ * "cast to ptr from int of different size" */
+ (void*)(ptrdiff_t)maxdepth,/* user data */
#else
NULL, /* user data */
#endif