Skip to content

Commit 3a239b1

Browse files
committed
- silent warning
1 parent e929582 commit 3a239b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSRM/tsrm_win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode)
350350
else if(desired_access == FILE_GENERIC_WRITE) {
351351
bucket->is_wvalid = 1;
352352
bucket->is_writable = fAccess;
353-
} else if (desired_access == FILE_GENERIC_READ | FILE_GENERIC_WRITE) {
353+
} else if (desired_access == (FILE_GENERIC_READ | FILE_GENERIC_WRITE)) {
354354
bucket->is_rvalid = 1;
355355
bucket->is_readable = fAccess;
356356
bucket->is_wvalid = 1;

0 commit comments

Comments
 (0)