sas             Sun Aug 17 09:49:52 2003 EDT

  Modified files:              
    /php-src/main/streams       php_stream_transport.h 
  Log:
  One bit fields need to be unsigned, otherwise there is no storage for
  the sign bit
    
  "A signed bit field has a length of 1 bit."
  
  
Index: php-src/main/streams/php_stream_transport.h
diff -u php-src/main/streams/php_stream_transport.h:1.5 
php-src/main/streams/php_stream_transport.h:1.6
--- php-src/main/streams/php_stream_transport.h:1.5     Tue Jul  1 21:35:39 2003
+++ php-src/main/streams/php_stream_transport.h Sun Aug 17 09:49:52 2003
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_stream_transport.h,v 1.5 2003/07/02 01:35:39 wez Exp $ */
+/* $Id: php_stream_transport.h,v 1.6 2003/08/17 13:49:52 sas Exp $ */
 
 #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
@@ -98,9 +98,9 @@
                STREAM_XPORT_OP_GET_NAME,
                STREAM_XPORT_OP_GET_PEER_NAME
        } op;
-       int want_addr:1;
-       int want_textaddr:1;
-       int want_errortext:1;
+       unsigned int want_addr:1;
+       unsigned int want_textaddr:1;
+       unsigned int want_errortext:1;
 
        struct {
                char *name;



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

Reply via email to