diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-07 21:07:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-08 21:31:40 +0100 |
commit | 8ac48304da003daf9187f0d9ba706be2b3a8d895 (patch) | |
tree | 9da054e42f97bb89fdc185c4e5abb4005fbaf90e /tools | |
parent | Resolves: tdf#114728 wrong entries in bibliographic entry dialog (diff) | |
download | core-8ac48304da003daf9187f0d9ba706be2b3a8d895.tar.gz core-8ac48304da003daf9187f0d9ba706be2b3a8d895.zip |
UL->U
Change-Id: I564e7604729f04e1fb9334b175c345938734640d
Reviewed-on: https://gerrit.libreoffice.org/47547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/bigint.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx index e4afdb6be55e..cda2be1843d7 100644 --- a/tools/source/generic/bigint.cxx +++ b/tools/source/generic/bigint.cxx @@ -302,7 +302,7 @@ void BigInt::MultLong( const BigInt& rB, BigInt& rErg ) const { nZ = (sal_uInt32)nNum[i] * (sal_uInt32)rB.nNum[j] + (sal_uInt32)rErg.nNum[i + j] + k; - rErg.nNum[i + j] = (sal_uInt16)(nZ & 0xffffUL); + rErg.nNum[i + j] = (sal_uInt16)(nZ & 0xffffU); k = nZ >> 16; } rErg.nNum[i + j] = (sal_uInt16)k; @@ -349,7 +349,7 @@ void BigInt::DivLong( const BigInt& rB, BigInt& rErg ) const aTmpA.nNum[j - nLenB + i] = (sal_uInt16)nTmp; nK = (sal_uInt16) (nTmp >> 16); if ( nK ) - nK = (sal_uInt16)(0x10000UL - nK); + nK = (sal_uInt16)(0x10000U - nK); } sal_uInt16& rNum( aTmpA.nNum[j - nLenB + i] ); rNum -= nK; @@ -416,7 +416,7 @@ void BigInt::ModLong( const BigInt& rB, BigInt& rErg ) const aTmpA.nNum[j - nLenB + i] = (sal_uInt16)nTmp; nK = (sal_uInt16) (nTmp >> 16); if ( nK ) - nK = (sal_uInt16)(0x10000UL - nK); + nK = (sal_uInt16)(0x10000U - nK); } sal_uInt16& rNum( aTmpA.nNum[j - nLenB + i] ); rNum = rNum - nK; @@ -560,11 +560,11 @@ BigInt::BigInt( sal_uInt32 nValue ) : nVal(0) { bIsSet = true; - if ( nValue & 0x80000000UL ) + if ( nValue & 0x80000000U ) { bIsBig = true; bIsNeg = false; - nNum[0] = (sal_uInt16)(nValue & 0xffffUL); + nNum[0] = (sal_uInt16)(nValue & 0xffffU); nNum[1] = (sal_uInt16)(nValue >> 16); nLen = 2; } |