pajoye                                   Thu, 04 Feb 2010 15:34:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=294532

Log:
- silent warning

Changed paths:
    U   php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
    U   php/php-src/trunk/TSRM/tsrm_win32.c

Modified: php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c      2010-02-04 14:13:03 UTC 
(rev 294531)
+++ php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c      2010-02-04 15:34:19 UTC 
(rev 294532)
@@ -350,7 +350,7 @@
                        else if(desired_access == FILE_GENERIC_WRITE) {
                                bucket->is_wvalid = 1;
                                bucket->is_writable = fAccess;
-                       } else if (desired_access == FILE_GENERIC_READ | 
FILE_GENERIC_WRITE) {
+                       } else if (desired_access == (FILE_GENERIC_READ | 
FILE_GENERIC_WRITE)) {
                                bucket->is_rvalid = 1;
                                bucket->is_readable = fAccess;
                                bucket->is_wvalid = 1;

Modified: php/php-src/trunk/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/trunk/TSRM/tsrm_win32.c 2010-02-04 14:13:03 UTC (rev 294531)
+++ php/php-src/trunk/TSRM/tsrm_win32.c 2010-02-04 15:34:19 UTC (rev 294532)
@@ -350,7 +350,7 @@
                        else if(desired_access == FILE_GENERIC_WRITE) {
                                bucket->is_wvalid = 1;
                                bucket->is_writable = fAccess;
-                       } else if (desired_access == FILE_GENERIC_READ | 
FILE_GENERIC_WRITE) {
+                       } else if (desired_access == (FILE_GENERIC_READ | 
FILE_GENERIC_WRITE)) {
                                bucket->is_rvalid = 1;
                                bucket->is_readable = fAccess;
                                bucket->is_wvalid = 1;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to