mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
Resolve conversion from ssize_t to int for readlink return value
This commit is contained in:

committed by
BenBE

parent
8029e9af04
commit
f61e74a4af
10
Compat.c
10
Compat.c
@ -94,11 +94,11 @@ int Compat_openat(const char* dirpath,
|
||||
|
||||
#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) {
|
||||
|
||||
#ifdef HAVE_READLINKAT
|
||||
|
||||
|
Reference in New Issue
Block a user