summaryrefslogtreecommitdiff
path: root/registry/source/reflcnst.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source/reflcnst.hxx')
-rw-r--r--registry/source/reflcnst.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/reflcnst.hxx b/registry/source/reflcnst.hxx
index 2fff0ca7340e..2254b94b511e 100644
--- a/registry/source/reflcnst.hxx
+++ b/registry/source/reflcnst.hxx
@@ -191,7 +191,7 @@ inline sal_uInt32 writeUINT64(sal_uInt8* buffer, sal_uInt64 v)
return sizeof(sal_uInt64);
}
-inline sal_uInt32 writeUtf8(sal_uInt8* buffer, const sal_Char* v)
+inline sal_uInt32 writeUtf8(sal_uInt8* buffer, const char* v)
{
sal_uInt32 size = strlen(v) + 1;
@@ -200,7 +200,7 @@ inline sal_uInt32 writeUtf8(sal_uInt8* buffer, const sal_Char* v)
return size;
}
-inline sal_uInt32 readUtf8(const sal_uInt8* buffer, sal_Char* v, sal_uInt32 maxSize)
+inline sal_uInt32 readUtf8(const sal_uInt8* buffer, char* v, sal_uInt32 maxSize)
{
sal_uInt32 size = strlen(reinterpret_cast<const char*>(buffer)) + 1;
if(size > maxSize)