summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygserver.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-04-23 09:44:36 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-04-23 09:44:36 +0000
commit61522196c71593da09572fce9af9e0d7dad61bc3 (patch)
tree9bf74facd67974fa2f780d6ce68b14eb7a94e371 /winsup/cygwin/cygserver.h
parent1875ee55d31d3673059373c8f9837bf98f93c713 (diff)
downloadcygnal-61522196c71593da09572fce9af9e0d7dad61bc3.tar.gz
cygnal-61522196c71593da09572fce9af9e0d7dad61bc3.tar.bz2
cygnal-61522196c71593da09572fce9af9e0d7dad61bc3.zip
* Merge in cygwin-64bit-branch.
Diffstat (limited to 'winsup/cygwin/cygserver.h')
-rw-r--r--winsup/cygwin/cygserver.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/cygserver.h b/winsup/cygwin/cygserver.h
index b549ed006..8bcc271f3 100644
--- a/winsup/cygwin/cygserver.h
+++ b/winsup/cygwin/cygserver.h
@@ -1,6 +1,6 @@
/* cygserver.h
- Copyright 2001, 2002, 2003, 2004, 2008 Red Hat Inc.
+ Copyright 2001, 2002, 2003, 2004, 2008, 2012, 2013 Red Hat Inc.
Written by Egor Duda <deo@logos-m.ru>
@@ -61,7 +61,7 @@ protected:
union
{
request_code_t request_code;
- ssize_t error_code;
+ int error_code;
};
header_t () {};
@@ -80,8 +80,8 @@ public:
request_code_t request_code () const { return _header.request_code; }
- ssize_t error_code () const { return _header.error_code; };
- void error_code (ssize_t error_code) { _header.error_code = error_code; };
+ int error_code () const { return _header.error_code; };
+ void error_code (int error_code) { _header.error_code = error_code; };
size_t msglen () const { return _header.msglen; };
void msglen (size_t len) { _header.msglen = len; };