summaryrefslogtreecommitdiffstats
path: root/Compat.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-11-24 17:40:00 +0100
committerBenBE <BenBE@geshi.org>2020-12-05 19:58:32 +0100
commitf61e74a4afb12952e9be136729bbc0cb8e977868 (patch)
treedfffa9ade7aa363cf3a6bc4d78833520d553ec11 /Compat.h
parent8029e9af04e6cd812383c392b791e6c4fd50b26d (diff)
Resolve conversion from ssize_t to int for readlink return value
Diffstat (limited to 'Compat.h')
-rw-r--r--Compat.h10
1 files changed, 5 insertions, 5 deletions
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 */

© 2014-2024 Faster IT GmbH | imprint | privacy policy