rasmus                                   Sun, 07 Aug 2011 15:57:35 +0000

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

Log:
More signed 1-bit bitfields

Changed paths:
    U   php/php-src/trunk/ext/phar/phar_internal.h
    U   php/php-src/trunk/sapi/cli/php_cli_server.c

Modified: php/php-src/trunk/ext/phar/phar_internal.h
===================================================================
--- php/php-src/trunk/ext/phar/phar_internal.h  2011-08-07 15:52:46 UTC (rev 
314436)
+++ php/php-src/trunk/ext/phar/phar_internal.h  2011-08-07 15:57:35 UTC (rev 
314437)
@@ -485,9 +485,9 @@
        off_t                    position;
        /* for copies of the phar fp, defines where 0 is */
        off_t                    zero;
-       int                      for_write:1;
-       int                      is_zip:1;
-       int                      is_tar:1;
+       unsigned int             for_write:1;
+       unsigned int             is_zip:1;
+       unsigned int             is_tar:1;
        phar_entry_info          *internal_file;
 } phar_entry_data;


Modified: php/php-src/trunk/sapi/cli/php_cli_server.c
===================================================================
--- php/php-src/trunk/sapi/cli/php_cli_server.c 2011-08-07 15:52:46 UTC (rev 
314436)
+++ php/php-src/trunk/sapi/cli/php_cli_server.c 2011-08-07 15:57:35 UTC (rev 
314437)
@@ -160,13 +160,13 @@
        char *addr_str;
        size_t addr_str_len;
        php_http_parser parser;
-       int request_read:1;
+       unsigned int request_read:1;
        char *current_header_name;
        size_t current_header_name_len;
-       int current_header_name_allocated:1;
+       unsigned int current_header_name_allocated:1;
        size_t post_read_offset;
        php_cli_server_request request;
-       int content_sender_initialized:1;
+       unsigned int content_sender_initialized:1;
        php_cli_server_content_sender content_sender;
        php_cli_server_buffer capture_buffer;
        unsigned int capturing:1;

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

Reply via email to