File basefixes.diff of Package fakechroot

---
 src/libfakechroot.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: b/src/libfakechroot.c
===================================================================
--- a/src/libfakechroot.c
+++ b/src/libfakechroot.c
@@ -427,7 +427,7 @@ static int     (*next_open64) (const cha
 static DIR *   (*next_opendir) (const char *name) = NULL;
 #endif
 static long    (*next_pathconf) (const char *path, int name) = NULL;
-static int     (*next_readlink) (const char *path, char *buf, READLINK_TYPE_ARG3) = NULL;
+static size_t  (*next_readlink) (const char *path, char *buf, READLINK_TYPE_ARG3) = NULL;
 static char *  (*next_realpath) (const char *name, char *resolved) = NULL;
 static int     (*next_remove) (const char *pathname) = NULL;
 #ifdef HAVE_REMOVEXATTR
@@ -1967,9 +1967,9 @@ long pathconf (const char *path, int nam
 
 
 /* #include <unistd.h> */
-int readlink (const char *path, char *buf, READLINK_TYPE_ARG3)
+ssize_t readlink (const char *path, char *buf, READLINK_TYPE_ARG3)
 {
-    int status;
+    size_t status;
     char tmp[FAKECHROOT_MAXPATH], *tmpptr;
     char *fakechroot_path, *fakechroot_ptr, fakechroot_buf[FAKECHROOT_MAXPATH];
 
openSUSE Build Service is sponsored by