From: Pierre Joye Date: Mon, 4 Oct 2010 10:35:32 +0000 (+0000) Subject: - Fix #52908, fix declaration X-Git-Tag: php-5.4.0alpha1~191^2~859 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c0682f89ffd256ddc33af778b9e0af6fdec8ce8;p=php - Fix #52908, fix declaration --- diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 7f743c88f1..caa804449b 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -133,7 +133,7 @@ typedef unsigned short mode_t; CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat); # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0) # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1) -CWD_API int php_sys_readlink(link, target, target_len); +CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len); #else # define php_sys_stat stat # define php_sys_lstat lstat