diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-29 17:50:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-12-29 17:50:06 +0000 |
commit | 34831132749c594a8a50c1f1d8ed498b57ea80dc (patch) | |
tree | 6cc576a1bcc20e6bea39b6c3db4c11c12347aca6 /ace | |
parent | eabfe8fbdcdced801d8f495d0918540329e5070d (diff) | |
download | ATCD-34831132749c594a8a50c1f1d8ed498b57ea80dc.tar.gz |
.
Diffstat (limited to 'ace')
-rw-r--r-- | ace/OS.i | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4368,7 +4368,7 @@ ACE_OS::event_reset (ACE_event_t *event) #if defined (ACE_WIN32) # define ACE_SOCKCALL_RETURN(OP,TYPE,FAILVALUE) \ do { TYPE ace_result_ = (TYPE) OP; \ - if ((ACE_SOCKET) ace_result_ == SOCKET_ERROR) { int ___ = ::WSAGetLastError (); errno = ___; return (TYPE) FAILVALUE; } else return ace_result_; \ + if ((ACE_SOCKET) ace_result_ == (ACE_SOCKET) SOCKET_ERROR) { int ___ = ::WSAGetLastError (); errno = ___; return (TYPE) FAILVALUE; } else return ace_result_; \ } while (0) #else # define ACE_SOCKCALL_RETURN(OP,TYPE,FAILVALUE) ACE_OSCALL_RETURN(OP,TYPE,FAILVALUE) |