win: fix an incompatible types warning (#3798)

This commit is contained in:
twosee 2022-11-08 17:24:45 +08:00 committed by GitHub
parent dff3f8ccab
commit 07949ce2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ int uv_cwd(char* buffer, size_t* size) {
int uv_chdir(const char* dir) {
WCHAR *utf16_buffer;
size_t utf16_len;
DWORD utf16_len;
WCHAR drive_letter, env_var[4];
int r;