server: A signed 1-bit bitfield doesn't make much sense; use unsigned.
Michael Stefaniuc
mstefani at redhat.de
Wed Sep 30 17:22:55 CDT 2009
---
server/fd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/fd.c b/server/fd.c
index d2da624..72ebcfe 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -192,8 +192,8 @@ struct fd
unsigned int sharing; /* file sharing mode */
int unix_fd; /* unix file descriptor */
unsigned int no_fd_status;/* status to return when unix_fd is -1 */
- int signaled :1; /* is the fd signaled? */
- int fs_locks :1; /* can we use filesystem locks for this fd? */
+ unsigned int signaled :1; /* is the fd signaled? */
+ unsigned int fs_locks :1; /* can we use filesystem locks for this fd? */
int poll_index; /* index of fd in poll array */
struct async_queue *read_q; /* async readers of this fd */
struct async_queue *write_q; /* async writers of this fd */
--
1.6.5.rc2
More information about the wine-patches
mailing list