diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-08-30 11:10:49 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-08-30 11:10:49 +0300 |
commit | a0d3aa1f50ed158fc0a4d57666f8f9840a81153e (patch) | |
tree | cb2b97159f2bd8f707a7ede6b7dae61fe0e2447b /registry/tools | |
parent | 803b669ec4c1a1052c0ea129fc7e689005e0dddf (diff) |
WaE: size_t/sal_Int32: possible loss of data
Change-Id: I96849e94196291bd387737aae537139ff4fefeb3
Diffstat (limited to 'registry/tools')
-rw-r--r-- | registry/tools/fileurl.cxx | 2 | ||||
-rw-r--r-- | registry/tools/fileurl.hxx | 2 |
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 |