Skip to content

Commit 0097e68

Browse files
Your Namestaticfloat
Your Name
authored andcommitted
Use DWORD instead of mode_t on Windows
It's not needed to use `mode_t` here, and it just confuses VS.
1 parent 89c1b49 commit 0097e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/win/fs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@ static void fs__access(uv_fs_t* req) {
22502250
}
22512251

22522252
static void build_access_struct(EXPLICIT_ACCESS_W* ea, PSID owner,
2253-
TRUSTEE_TYPE user_type, mode_t mode_triplet,
2253+
TRUSTEE_TYPE user_type, DWORD mode_triplet,
22542254
ACCESS_MODE allow_deny) {
22552255
/*
22562256
* We map the typical POSIX mode bits r/w/x as the Windows

0 commit comments

Comments
 (0)