Module: wine Branch: master Commit: 0eed4405de418405b43c2b56c92689cd2e2763a9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0eed4405de418405b43c2b56c9...
Author: Michael Stefaniuc mstefani@redhat.de Date: Thu Oct 1 00:22:55 2009 +0200
server: A signed 1-bit bitfield doesn't make much sense; use unsigned.
---
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 */