# HG changeset patch # User reimar # Date 1188034063 0 # Node ID e92ef0d2a9760a4291c1d85be7f4d4a2357d9abb # Parent a76d37951a43a851e8bbf42ad1ed69fd3e95152e Change bitfield to unsigned so that we get the usual truth values (1 = true, 0 = false) instead of -1 for true. diff -r a76d37951a43 -r e92ef0d2a976 input/input.c --- a/input/input.c Sat Aug 25 09:17:14 2007 +0000 +++ b/input/input.c Sat Aug 25 09:27:43 2007 +0000 @@ -495,12 +495,12 @@ 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;