changeset 92619:6c9be1557979

(struct Lisp_Process): Declare bit fields as unsigned.
author Andreas Schwab <schwab@suse.de>
date Sat, 08 Mar 2008 15:53:51 +0000
parents 42c38aef74a3
children 56c940bf55c1
files src/ChangeLog src/process.h
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Mar 08 07:56:13 2008 +0000
+++ b/src/ChangeLog	Sat Mar 08 15:53:51 2008 +0000
@@ -1,3 +1,7 @@
+2008-03-08  Andreas Schwab  <schwab@suse.de>
+
+	* process.h (struct Lisp_Process): Declare bit fields as unsigned.
+
 2008-03-06  Jason Rumney  <jasonr@gnu.org>
 
 	* w32font.c (w32_registry): Take font_type argument.  Use ANSI
--- a/src/process.h	Sat Mar 08 07:56:13 2008 +0000
+++ b/src/process.h	Sat Mar 08 15:53:51 2008 +0000
@@ -102,28 +102,28 @@
     /* Should we delay reading output from this process.
        Initialized from `Vprocess_adaptive_read_buffering'.
        0 = nil, 1 = t, 2 = other.  */
-    int adaptive_read_buffering : 2;
+    unsigned int adaptive_read_buffering : 2;
     /* Skip reading this process on next read.  */
-    int read_output_skip : 1;
+    unsigned int read_output_skip : 1;
     /* Non-nil means kill silently if Emacs is exited.
        This is the inverse of the `query-on-exit' flag.  */
-    int kill_without_query : 1;
+    unsigned int kill_without_query : 1;
     /* Non-nil if communicating through a pty.  */
-    int pty_flag : 1;
+    unsigned int pty_flag : 1;
     /* Flag to set coding-system of the process buffer from the
        coding_system used to decode process output.  */
-    int inherit_coding_system_flag : 1;
+    unsigned int inherit_coding_system_flag : 1;
     /* Flag to decide the multibyteness of a string given to the
        filter (if any).  It is initialized to the value of
        `default-enable-multibyte-characters' when the process is
        generated, and can be changed by the function
        `set-process-filter-multibyte'. */
-    int filter_multibyte : 1;
+    unsigned int filter_multibyte : 1;
     /* Record the process status in the raw form in which it comes from `wait'.
        This is to avoid consing in a signal handler.  The `raw_status_new'
        flag indicates that `raw_status' contains a new status that still
        needs to be synced to `status'.  */
-    int raw_status_new : 1;
+    unsigned int raw_status_new : 1;
     int raw_status;
 };