From aceb7e5eb8347b9bab853b9ceef91a00cf80c446 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 25 Aug 2007 09:27:43 +0000 Subject: 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 --- input/input.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'input') 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; -- cgit v1.2.3