diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-23 10:52:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-23 10:52:52 +0000 |
commit | 6ee023cf629c83af8d10b383ab0780ec043f0785 (patch) | |
tree | 4ec08b459891bde261e36eef785e92eb71bac44c /findutils | |
parent | de4c5d3d8c77f0c1f68b72fff3d7e3be0dc2dec2 (diff) | |
download | busybox-6ee023cf629c83af8d10b383ab0780ec043f0785.tar.gz |
*: compile fixes for 64-bit build
Diffstat (limited to 'findutils')
-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,) 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 |