diff options
Diffstat (limited to 'registry/source/reflcnst.hxx')
-rw-r--r-- | registry/source/reflcnst.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/reflcnst.hxx b/registry/source/reflcnst.hxx index e08da94a5566..b62869645b12 100644 --- a/registry/source/reflcnst.hxx +++ b/registry/source/reflcnst.hxx @@ -217,7 +217,7 @@ inline sal_uInt32 writeUtf8(sal_uInt8* buffer, const sal_Char* v) inline sal_uInt32 readUtf8(const sal_uInt8* buffer, sal_Char* v, sal_uInt32 maxSize) { - sal_uInt32 size = strlen((const sal_Char*) buffer) + 1; + sal_uInt32 size = strlen(reinterpret_cast<const char*>(buffer)) + 1; if(size > maxSize) { size = maxSize; |