Browse Source

Windows build fix.

Adam Ierymenko 11 years ago
parent
commit
e3239d23f4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      node/SocketManager.cpp

+ 2 - 2
node/SocketManager.cpp

@@ -466,9 +466,9 @@ void SocketManager::poll(unsigned long timeout)
 	if (FD_ISSET(_whackReceivePipe,&rfds)) {
 		char tmp[16];
 #ifdef __WINDOWS__
-		::recv(_whackReceivePipe,&tmp,16,0);
+		::recv(_whackReceivePipe,tmp,16,0);
 #else
-		::read(_whackReceivePipe,&tmp,16);
+		::read(_whackReceivePipe,tmp,16);
 #endif
 	}