From d7665e25559f4524ef6daf1741842943ff35c971 Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Sun, 2 Jan 2022 20:40:32 +0000 Subject: Follow-up to r1896625: Add typecast. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1896626 13f79535-47bb-0310-9956-ffa450edef68 --- file_io/win32/filestat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_io/win32/filestat.c b/file_io/win32/filestat.c index 6a9ff89f2..4c0b14795 100644 --- a/file_io/win32/filestat.c +++ b/file_io/win32/filestat.c @@ -505,7 +505,7 @@ APR_DECLARE(apr_status_t) apr_file_info_get(apr_finfo_t *finfo, apr_int32_t want #endif if (wanted & APR_FINFO_LINK && - reparse_point_is_link(&FileInfo, 0, thefile->fname)) { + reparse_point_is_link((WIN32_FILE_ATTRIBUTE_DATA *) &FileInfo, 0, thefile->fname)) { finfo->filetype = APR_LNK; } else if (FileInfo.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { -- cgit v1.2.1