summaryrefslogtreecommitdiff
path: root/osdep/Phy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/Phy.hpp')
-rw-r--r--osdep/Phy.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/Phy.hpp b/osdep/Phy.hpp
index 03eb84c2..1b08f30a 100644
--- a/osdep/Phy.hpp
+++ b/osdep/Phy.hpp
@@ -252,7 +252,7 @@ public:
#if defined(_WIN32) || defined(_WIN64)
::send(_whackSendSocket,(const char *)this,1,0);
#else
- (void)::write(_whackSendSocket,(PhySocket *)this,1);
+ (void)(::write(_whackSendSocket,(PhySocket *)this,1));
#endif
}
@@ -871,7 +871,7 @@ public:
#if defined(_WIN32) || defined(_WIN64)
::recv(_whackReceiveSocket,tmp,16,0);
#else
- (void)::read(_whackReceiveSocket,tmp,16);
+ (void)(::read(_whackReceiveSocket,tmp,16));
#endif
}