diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-11 19:28:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-11 19:28:53 +0000 |
commit | 274cffbbffa950ddf286092b52f03f76ec61a301 (patch) | |
tree | 5aeb062d27c79d1fbc15eaf033da943630bcbf84 /protocols/MRA/Sdk/SocketFunctions.h | |
parent | 482be69d327aef60a9a654b8cc6a5e6646d095de (diff) |
slightly refactored MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@1564 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/Sdk/SocketFunctions.h')
-rw-r--r-- | protocols/MRA/Sdk/SocketFunctions.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/MRA/Sdk/SocketFunctions.h b/protocols/MRA/Sdk/SocketFunctions.h index 480b5beccb..0d609d80f9 100644 --- a/protocols/MRA/Sdk/SocketFunctions.h +++ b/protocols/MRA/Sdk/SocketFunctions.h @@ -346,7 +346,7 @@ return(dwRetErrorCode); ////////////////////////////////////////////////////////////////////////
#if(_WIN32_WINNT >= 0x0501)
-__inline DWORD SockAddrInDataSet(LPCVOID lpcsasSockAddrStorage,DWORD dwPort,LPCVOID lpcAddress,SIZE_T dwAddressSize)
+__inline DWORD SockAddrInDataSet(LPCVOID lpcsasSockAddrStorage,DWORD dwPort,LPCVOID lpcAddress,size_t dwAddressSize)
{
DWORD dwRetErrorCode=NO_ERROR;
@@ -398,7 +398,7 @@ return(dwRetErrorCode); }
-__inline DWORD SockAddrInAddressSet(LPCVOID lpcsasSockAddrStorage,LPCVOID lpcAddress,SIZE_T dwAddressSize)
+__inline DWORD SockAddrInAddressSet(LPCVOID lpcsasSockAddrStorage,LPCVOID lpcAddress,size_t dwAddressSize)
{
DWORD dwRetErrorCode=NO_ERROR;
@@ -424,7 +424,7 @@ return(dwRetErrorCode); }
-__inline DWORD SockAddrAddressSet(LPCVOID lpcsasSockAddrStorage,LPCVOID lpcAddress,SIZE_T dwAddressSize)
+__inline DWORD SockAddrAddressSet(LPCVOID lpcsasSockAddrStorage,LPCVOID lpcAddress,size_t dwAddressSize)
{
DWORD dwRetErrorCode=NO_ERROR;
@@ -450,9 +450,9 @@ return(dwRetErrorCode); }
-__inline SIZE_T SockAddrGetSize(LPCVOID lpcsasSockAddrStorage)
+__inline size_t SockAddrGetSize(LPCVOID lpcsasSockAddrStorage)
{
- SIZE_T dwRet;
+ size_t dwRet;
if (lpcsasSockAddrStorage)
{
|