Skip to content

Commit

Permalink
Use DWORD instead of mode_t on Windows
Browse files Browse the repository at this point in the history
It's not needed to use `mode_t` here, and it just confuses VS.
  • Loading branch information
Your Name committed Dec 5, 2022
1 parent 0fd40c8 commit 7718e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,7 @@ static void fs__access(uv_fs_t* req) {
}

static void build_access_struct(EXPLICIT_ACCESS_W* ea, PSID owner,
TRUSTEE_TYPE user_type, mode_t mode_triplet,
TRUSTEE_TYPE user_type, DWORD mode_triplet,
ACCESS_MODE allow_deny) {
/*
* We map the typical POSIX mode bits r/w/x as the Windows
Expand Down

0 comments on commit 7718e99

Please sign in to comment.