* cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argument

to make sure entire ipc_retval union is initialized on all supported
	platforms.
This commit is contained in:
Corinna Vinschen 2013-07-19 11:32:54 +00:00
parent 320a1e7412
commit 000235c38d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-07-19 Jon TURNEY <jon.turney@dronecode.org.uk>
* cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argument
to make sure entire ipc_retval union is initialized on all supported
platforms.
2013-07-18 Corinna Vinschen <corinna@vinschen.de>
* path.cc (normalize_posix_path): Start checking path before ".." at

View File

@ -59,7 +59,7 @@ private:
};
public:
ipc_retval (int ni) { i = ni; }
ipc_retval (ssize_t nssz) { ssz = nssz; }
operator int () const { return i; }
int operator = (int ni) { return i = ni; }