Skip to content

Commit dc7a66a

Browse files
committed
fix the REPARSE_DATA_BUFFER struct def
1 parent 0885e4b commit dc7a66a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_virtual_cwd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static int php_check_dots(const char *element, int n)
178178
#define MAXIMUM_REPARSE_DATA_BUFFER_SIZE ( 16 * 1024 )
179179

180180
typedef struct {
181-
zend_ulong ReparseTag;
181+
unsigned long ReparseTag;
182182
unsigned short ReparseDataLength;
183183
unsigned short Reserved;
184184
union {
@@ -187,7 +187,7 @@ typedef struct {
187187
unsigned short SubstituteNameLength;
188188
unsigned short PrintNameOffset;
189189
unsigned short PrintNameLength;
190-
zend_ulong Flags;
190+
unsigned long Flags;
191191
wchar_t ReparseTarget[1];
192192
} SymbolicLinkReparseBuffer;
193193
struct {
@@ -201,7 +201,7 @@ typedef struct {
201201
unsigned char ReparseTarget[1];
202202
} GenericReparseBuffer;
203203
};
204-
} REPARSE_DATA_BUFFER;
204+
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
205205

206206
#define SECS_BETWEEN_EPOCHS (__int64)11644473600
207207
#define SECS_TO_100NS (__int64)10000000

0 commit comments

Comments
 (0)