diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:58 +0100 |
commit | 1c6eb2d25d5d2b680419e4e03f54a2580e71cf7a (patch) | |
tree | aa2ca8c73f5919d1529e32e44247d940c8e0e531 /tools | |
parent | c80e341726c5acc0b7c23842c6b5e97d32a7d4f4 (diff) |
More loplugin:cstylecast: tools
Change-Id: I0d7318a5f781c81630a8ca43d30a7552132e7b11
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 86a296b1d598..be3b4d4fbea5 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -251,7 +251,7 @@ static ErrCode GetSvError( oslFileError nErrno ) { osl_File_E_NOTDIR, SVSTREAM_PATH_NOT_FOUND }, { osl_File_E_EXIST, SVSTREAM_CANNOT_MAKE }, { osl_File_E_NOSPC, SVSTREAM_DISK_FULL }, - { (oslFileError)0xFFFF, SVSTREAM_GENERALERROR } + { oslFileError(0xFFFF), SVSTREAM_GENERALERROR } }; ErrCode nRetVal = SVSTREAM_GENERALERROR; // default error @@ -265,7 +265,7 @@ static ErrCode GetSvError( oslFileError nErrno ) } ++i; } - while( errArr[i].nErr != (oslFileError)0xFFFF ); + while( errArr[i].nErr != oslFileError(0xFFFF) ); return nRetVal; } |