summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/sm.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-13 11:21:13 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-14 16:18:05 +0200
commit9a3d8ed28dc44743b6715cd8bac39b55762cba11 (patch)
tree2755682e3e28998f7df4c2fa4fde1d7235e8c872 /vcl/unx/generic/app/sm.cxx
parentd26599c3e1dea940439985b46b727cfc22b37c38 (diff)
Replace usage of rtl/memory.h in vcl with equivalent from string.h
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
Diffstat (limited to 'vcl/unx/generic/app/sm.cxx')
-rw-r--r--vcl/unx/generic/app/sm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx
index 0122038a40fb..67e7db213bf5 100644
--- a/vcl/unx/generic/app/sm.cxx
+++ b/vcl/unx/generic/app/sm.cxx
@@ -637,7 +637,7 @@ void ICEConnectionWorker(void * data)
nConnectionsBefore = pThis->m_nConnections;
int nBytes = sizeof( struct pollfd )*(nConnectionsBefore+1);
pLocalFD = (struct pollfd*)rtl_allocateMemory( nBytes );
- rtl_copyMemory( pLocalFD, pThis->m_pFilehandles, nBytes );
+ memcpy( pLocalFD, pThis->m_pFilehandles, nBytes );
}
int nRet = poll( pLocalFD,nConnectionsBefore+1,-1 );