[Libreoffice-commits] core.git: registry/tools
Tor Lillqvist
tml at iki.fi
Fri Aug 30 01:12:03 PDT 2013
registry/tools/fileurl.cxx | 2 +-
registry/tools/fileurl.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a0d3aa1f50ed158fc0a4d57666f8f9840a81153e
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Aug 30 11:10:49 2013 +0300
WaE: size_t/sal_Int32: possible loss of data
Change-Id: I96849e94196291bd387737aae537139ff4fefeb3
diff --git a/registry/tools/fileurl.cxx b/registry/tools/fileurl.cxx
index 2813ef3..94a2488c 100644
--- a/registry/tools/fileurl.cxx
+++ b/registry/tools/fileurl.cxx
@@ -40,7 +40,7 @@ namespace registry
namespace tools
{
-OUString convertToFileUrl(char const * filename, size_t length)
+OUString convertToFileUrl(char const * filename, sal_Int32 length)
{
OUString const uFileName(filename, length, osl_getThreadTextEncoding());
if (strncmp(filename, "file://", 7) == 0)
diff --git a/registry/tools/fileurl.hxx b/registry/tools/fileurl.hxx
index cec3724..0e7de69 100644
--- a/registry/tools/fileurl.hxx
+++ b/registry/tools/fileurl.hxx
@@ -27,7 +27,7 @@ namespace registry
namespace tools
{
-OUString convertToFileUrl(char const * filename, size_t length);
+OUString convertToFileUrl(char const * filename, sal_Int32 length);
} // namespace tools
} // namespace registry
More information about the Libreoffice-commits
mailing list