diff options
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/framework.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 28276b8bda5d..324b112b4e7e 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -1204,7 +1204,7 @@ JavaInfo * CJavaInfo::copyJavaInfo(const JavaInfo * pInfo) (JavaInfo*) rtl_allocateMemory(sizeof(JavaInfo)); if (newInfo) { - rtl_copyMemory(newInfo, pInfo, sizeof(JavaInfo)); + memcpy(newInfo, pInfo, sizeof(JavaInfo)); rtl_uString_acquire(pInfo->sVendor); rtl_uString_acquire(pInfo->sLocation); rtl_uString_acquire(pInfo->sVersion); |