summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-04 14:54:23 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-04 17:46:59 +0200
commitf6acb53bb124e6f01e82ace35ce40f02da5a4e5d (patch)
treec840aa69bf185723a3dd5ab9a930ad854e9f30b8 /registry/tools
parent7378c5cb16959aafa32c101d96f32557598d7493 (diff)
Replace usage of rtl/memory.h in registry with equivalent from string.h
Change-Id: I3c442b7c3743684f62cc5ffc3c4b0926ff0db999
Diffstat (limited to 'registry/tools')
-rw-r--r--registry/tools/regcompare.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx
index 46c982404916..f9a72d75da08 100644
--- a/registry/tools/regcompare.cxx
+++ b/registry/tools/regcompare.cxx
@@ -1407,7 +1407,7 @@ static sal_uInt32 checkValueDifference(
std::vector< sal_uInt8 > value2(size2);
key2.getValue(tmpName, &value2[0]);
- bEqual = (rtl_compareMemory(&value1[0], &value2[0], value1.size()) == 0 );
+ bEqual = (memcmp(&value1[0], &value2[0], value1.size()) == 0 );
if ( !bEqual && valueType1 == RG_VALUETYPE_BINARY && valueType2 == RG_VALUETYPE_BINARY )
{
typereg::Reader reader1(&value1[0], value1.size(), false, TYPEREG_VERSION_1);