summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-30 11:10:49 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-30 11:10:49 +0300
commita0d3aa1f50ed158fc0a4d57666f8f9840a81153e (patch)
treecb2b97159f2bd8f707a7ede6b7dae61fe0e2447b /registry/tools
parent803b669ec4c1a1052c0ea129fc7e689005e0dddf (diff)
WaE: size_t/sal_Int32: possible loss of data
Change-Id: I96849e94196291bd387737aae537139ff4fefeb3
Diffstat (limited to 'registry/tools')
-rw-r--r--registry/tools/fileurl.cxx2
-rw-r--r--registry/tools/fileurl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/registry/tools/fileurl.cxx b/registry/tools/fileurl.cxx
index 2813ef36b5c8..94a2488c892e 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 cec372468bbc..0e7de690ceee 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