We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838dd81 commit 739efd7Copy full SHA for 739efd7
1 file changed
core/shared/platform/windows/win_file.c
@@ -1758,7 +1758,7 @@ os_closedir(os_dir_stream dir_stream)
1758
if (!success) {
1759
DWORD win_error = GetLastError();
1760
1761
- if (win_error = ERROR_INVALID_HANDLE)
+ if (win_error == ERROR_INVALID_HANDLE)
1762
BH_FREE(dir_stream);
1763
return convert_windows_error_code(win_error);
1764
}
0 commit comments