basic/source/runtime/methods.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7c8f27e3d8ff9c22409313a093bf538256fa2f7f Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon May 9 15:39:39 2022 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon May 9 17:52:11 2022 +0200 sal_Int32 cast to tools::Long to pass to a function taking sal_Int32 Change-Id: I81bb794e6a154dd3d022b34ce1348f32c854f52b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134059 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 8cc49c2a5024..e86ac2d64c63 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -765,7 +765,7 @@ void SbRtl_FileLen(StarBASIC *, SbxArray & rPar, bool) (void)aItem.getFileStatus( aFileStatus ); nLen = static_cast<sal_Int32>(aFileStatus.getFileSize()); } - rPar.Get(0)->PutLong(static_cast<tools::Long>(nLen)); + rPar.Get(0)->PutLong(nLen); } }