From 28545f7cd8157477282a751a97562f4af424eb4f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 8 Mar 2008 15:53:51 +0000 Subject: [PATCH] (struct Lisp_Process): Declare bit fields as unsigned. --- src/ChangeLog | 4 ++++ src/process.h | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c199d56b314..32c09e17062 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-03-08 Andreas Schwab + + * process.h (struct Lisp_Process): Declare bit fields as unsigned. + 2008-03-06 Jason Rumney * w32font.c (w32_registry): Take font_type argument. Use ANSI diff --git a/src/process.h b/src/process.h index 2b9f7b2727f..dccb0cd2af9 100644 --- a/src/process.h +++ b/src/process.h @@ -102,28 +102,28 @@ struct Lisp_Process /* 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; }; -- 2.39.2