diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-19 21:45:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-19 21:45:15 +0000 |
commit | f5808137717eebb5b38607834016ed733374ccc5 (patch) | |
tree | 47b3b7fc8def7b9454961a121d3172aa7ce741d1 /winsup/cygwin/fhandler.h | |
parent | cfaf367058257bdeb2fb93250684335b00f5854f (diff) | |
download | cygnal-f5808137717eebb5b38607834016ed733374ccc5.tar.gz cygnal-f5808137717eebb5b38607834016ed733374ccc5.tar.bz2 cygnal-f5808137717eebb5b38607834016ed733374ccc5.zip |
* child_info.h (fork_info): Use different method to alias variable.
(spawn_info): Ditto.
* cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x).
(__cxa_guard_release): Ditto.
* devices.in: Make sure stuff is correctly bracketed (for gcc 4.x).
* devices.cc: Regenerate.
* fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x).
* smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use
of regparm, for some reason.
* sync.h (sync::init_lock): Remove.
* sync.cc (sync::init_lock): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 2d5998b3b..4b0fbb795 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -141,7 +141,7 @@ class fhandler_base bool exists () const {return pc.exists ();} int pc_binmode () const {return pc.binmode ();} device& dev () {return pc.dev;} - operator DWORD& () {return (DWORD) pc;} + operator DWORD& () {return (DWORD&) pc;} virtual size_t size () const {return sizeof (*this);} virtual fhandler_base& operator =(fhandler_base &x); |