From f61e74a4afb12952e9be136729bbc0cb8e977868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 24 Nov 2020 17:40:00 +0100 Subject: Resolve conversion from ssize_t to int for readlink return value --- Compat.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Compat.h') diff --git a/Compat.h b/Compat.h index fff437be..3b567736 100644 --- a/Compat.h +++ b/Compat.h @@ -50,10 +50,10 @@ int Compat_openat(openat_arg_t dirpath, const char* pathname, int flags); #endif /* HAVE_OPENAT */ -int Compat_readlinkat(int dirfd, - const char* dirpath, - const char* pathname, - char* buf, - size_t bufsize); +ssize_t Compat_readlinkat(int dirfd, + const char* dirpath, + const char* pathname, + char* buf, + size_t bufsize); #endif /* HEADER_Compat */ -- cgit v1.2.3