summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 8a23d6753..9a82d491a 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1308,12 +1308,12 @@ struct fifo_reader_id_t
operator bool () const { return winpid != 0 || fh != NULL; }
- friend operator == (const fifo_reader_id_t &l, const fifo_reader_id_t &r)
+ friend bool operator == (const fifo_reader_id_t &l, const fifo_reader_id_t &r)
{
return l.winpid == r.winpid && l.fh == r.fh;
}
- friend operator != (const fifo_reader_id_t &l, const fifo_reader_id_t &r)
+ friend bool operator != (const fifo_reader_id_t &l, const fifo_reader_id_t &r)
{
return l.winpid != r.winpid || l.fh != r.fh;
}