diff options
Diffstat (limited to 'sal/rtl/cmdargs.cxx')
-rw-r--r-- | sal/rtl/cmdargs.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/cmdargs.cxx b/sal/rtl/cmdargs.cxx index ef9f9bde2ae3..0baae609efdf 100644 --- a/sal/rtl/cmdargs.cxx +++ b/sal/rtl/cmdargs.cxx @@ -52,7 +52,7 @@ void init() sal_Int32 i, n = osl_getCommandArgCount(); g_ppCommandArgs = - (rtl_uString**)rtl_allocateZeroMemory (n * sizeof(rtl_uString*)); + static_cast<rtl_uString**>(rtl_allocateZeroMemory (n * sizeof(rtl_uString*))); for (i = 0; i < n; i++) { rtl_uString * pArg = 0; |