You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2022/01/05 16:52:33 UTC

svn commit: r1896721 - /apr/apr/trunk/file_io/win32/filestat.c

Author: ivan
Date: Wed Jan  5 16:52:33 2022
New Revision: 1896721

URL: http://svn.apache.org/viewvc?rev=1896721&view=rev
Log:
* file_io/win32/filestat.c
  (reparse_point_is_link): Cast to more correct type.
 

Modified:
    apr/apr/trunk/file_io/win32/filestat.c

Modified: apr/apr/trunk/file_io/win32/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/filestat.c?rev=1896721&r1=1896720&r2=1896721&view=diff
==============================================================================
--- apr/apr/trunk/file_io/win32/filestat.c (original)
+++ apr/apr/trunk/file_io/win32/filestat.c Wed Jan  5 16:52:33 2022
@@ -224,8 +224,7 @@ static int reparse_point_is_link(WIN32_F
 
     if (finddata)
     {
-        // no matter A or W as we don't need file name
-        tag = ((WIN32_FIND_DATAA*)wininfo)->dwReserved0;
+        tag = ((WIN32_FIND_DATAW*)wininfo)->dwReserved0;
     }
     else
     {