diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 09:27:43 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-25 09:27:43 +0000 |
commit | aceb7e5eb8347b9bab853b9ceef91a00cf80c446 (patch) | |
tree | 0ff66dc32ac29dfc0cfa40e55e16d61500485284 /input | |
parent | da121e80f97391d1a3f7f7087d67187ff89b6616 (diff) | |
download | mpv-aceb7e5eb8347b9bab853b9ceef91a00cf80c446.tar.bz2 mpv-aceb7e5eb8347b9bab853b9ceef91a00cf80c446.tar.xz |
Change bitfield to unsigned so that we get the usual truth values
(1 = true, 0 = false) instead of -1 for true.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24160 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/input/input.c b/input/input.c index 336eca90e4..39ea408f93 100644 --- a/input/input.c +++ b/input/input.c @@ -495,12 +495,12 @@ typedef struct mp_input_fd { int fd; void* read_func; mp_close_func_t close_func; - int eof : 1; - int drop : 1; - int dead : 1; - int got_cmd : 1; - int no_select : 1; - int no_readfunc_retval : 1; + unsigned eof : 1; + unsigned drop : 1; + unsigned dead : 1; + unsigned got_cmd : 1; + unsigned no_select : 1; + unsigned no_readfunc_retval : 1; // These fields are for the cmd fds. char* buffer; int pos,size; |