summaryrefslogtreecommitdiff
path: root/automation/source/simplecm/tcpio.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'automation/source/simplecm/tcpio.cxx')
-rw-r--r--automation/source/simplecm/tcpio.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/simplecm/tcpio.cxx b/automation/source/simplecm/tcpio.cxx
index e71afb399b84..9c0bc2185704 100644
--- a/automation/source/simplecm/tcpio.cxx
+++ b/automation/source/simplecm/tcpio.cxx
@@ -32,7 +32,7 @@
#include "tcpio.hxx"
/// implement ITransmiter
-comm_USHORT TCPIO::TransferBytes( const void* pBuffer, comm_UINT32 nLen )
+comm_UINT16 TCPIO::TransferBytes( const void* pBuffer, comm_UINT32 nLen )
{
osl::MutexGuard aGuard( aMSocketWriteAccess );
if ( !pStreamSocket )
@@ -48,7 +48,7 @@ comm_USHORT TCPIO::TransferBytes( const void* pBuffer, comm_UINT32 nLen )
/// implement IReceiver
-comm_USHORT TCPIO::ReceiveBytes( void* pBuffer, comm_UINT32 nLen )
+comm_UINT16 TCPIO::ReceiveBytes( void* pBuffer, comm_UINT32 nLen )
{
osl::MutexGuard aGuard( aMSocketReadAccess );
if ( !pStreamSocket )