Mercurial > mplayer.hg
changeset 24140:e92ef0d2a976
Change bitfield to unsigned so that we get the usual truth values
(1 = true, 0 = false) instead of -1 for true.
author | reimar |
---|---|
date | Sat, 25 Aug 2007 09:27:43 +0000 |
parents | a76d37951a43 |
children | a911d41e4e99 |
files | input/input.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;