diff options
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index bfa7a930861..281f9b4b7eb 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -248,6 +248,7 @@ class cygheap_fdmanip } operator int &() {return fd;} operator fhandler_base* &() {return *fh;} + operator fhandler_socket* () const {return reinterpret_cast<fhandler_socket *> (*fh);} void operator = (fhandler_base *fh) {*this->fh = fh;} fhandler_base *operator -> () const {return *fh;} bool isopen () const |