summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-05 19:30:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-05 22:11:36 +0200
commit98788274275d7c9effa2a3839469bd35d9290f1e (patch)
tree5f3c0e0b26e2aa83ae4bca1e5ebcd4a85b93f5a5 /desktop
parentstill not enough space on oss-fuzz (diff)
downloadcore-98788274275d7c9effa2a3839469bd35d9290f1e.tar.gz
core-98788274275d7c9effa2a3839469bd35d9290f1e.zip
coverity#1438225 Improper use of negative value
and coverity#1438221 Argument cannot be negative coverity#1438213 Argument cannot be negative coverity#1438227 Argument cannot be negative coverity#1438223 Argument cannot be negative coverity#1438222 Argument cannot be negative coverity#1438215 Improper use of negative value coverity#1438220 Improper use of negative value coverity#1438217 Improper use of negative value Change-Id: I398ae9901b27f6b65f03aad03638939b5880a671 Reviewed-on: https://gerrit.libreoffice.org/58626 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/unxsplash.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx
index 88f1aef5090b..0cc948ee121b 100644
--- a/desktop/source/splash/unxsplash.cxx
+++ b/desktop/source/splash/unxsplash.cxx
@@ -94,7 +94,7 @@ UnxSplashScreen::initialize( const css::uno::Sequence< css::uno::Any>& )
OUString aNum;
if ( aArg.startsWithIgnoreAsciiCase("--splash-pipe=", &aNum) )
{
- int fd = aNum.toInt32();
+ auto fd = aNum.toUInt32();
m_pOutFd = fdopen( fd, "w" );
SAL_INFO("desktop.splash", "Got argument '--splash-pipe=" << fd << " ('"
<< aNum << "') ("