diff options
Diffstat (limited to 'sal/osl/unx/tempfile.cxx')
-rw-r--r-- | sal/osl/unx/tempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/tempfile.cxx b/sal/osl/unx/tempfile.cxx index 5ba94ded4daa..2f9fb7182db6 100644 --- a/sal/osl/unx/tempfile.cxx +++ b/sal/osl/unx/tempfile.cxx @@ -83,7 +83,7 @@ static void osl_gen_random_name_impl_(rtl_uString** rand_name) gettimeofday(&tv, nullptr); - value += ((uint64_t)tv.tv_usec << 16) ^ tv.tv_sec ^ getpid(); + value += (static_cast<uint64_t>(tv.tv_usec) << 16) ^ tv.tv_sec ^ getpid(); v = value; |