diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-29 21:45:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-29 21:45:13 +0000 |
commit | d88e1dd586130798e44682bcb43380d1e3d25412 (patch) | |
tree | ebb1144799baf2fdd451770dd113dc3a23f25cf2 /protocols/MRA/src/MraMRIMProxy.cpp | |
parent | 6571a527400a6b5efc787305f57f3052abd1e761 (diff) |
mra - warning fixes for 64-bit mode
git-svn-id: http://svn.miranda-ng.org/main/trunk@13261 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraMRIMProxy.cpp')
-rw-r--r-- | protocols/MRA/src/MraMRIMProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraMRIMProxy.cpp b/protocols/MRA/src/MraMRIMProxy.cpp index d34282bbb3..e70374d242 100644 --- a/protocols/MRA/src/MraMRIMProxy.cpp +++ b/protocols/MRA/src/MraMRIMProxy.cpp @@ -151,7 +151,7 @@ DWORD CMraProto::MraMrimProxyConnect(HANDLE hMraMrimProxyData, HANDLE *phConnect _CrtDbgBreak();
}
else {
- dwBytesReceived = Netlib_Recv(nls.hReadConns[0], (LPSTR)(lpbBufferRcv+dwRcvBuffSizeUsed), (dwRcvBuffSize-dwRcvBuffSizeUsed), 0);
+ dwBytesReceived = Netlib_Recv(nls.hReadConns[0], (LPSTR)(lpbBufferRcv + dwRcvBuffSizeUsed), (int)(dwRcvBuffSize - dwRcvBuffSizeUsed), 0);
if (dwBytesReceived && dwBytesReceived != SOCKET_ERROR) { // connected
dwRcvBuffSizeUsed += dwBytesReceived;
if (dwRcvBuffSizeUsed >= sizeof(mrim_packet_header_t)) { // packet header received
|