diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-03-02 21:22:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-03 11:03:06 +0100 |
commit | 2449bf48c4cefeda4ac0ccc65c6187ae0f079f82 (patch) | |
tree | 1a70bf62e663854fd50737509af43c6b9ff8ff38 /package | |
parent | e1ec5eb6dc76d3fcb4e29dc214daf8ee7ca9e547 (diff) |
Remove redundant bitwise and when converting from sal_uInt32 to sal_Int32
...which has no effect on the result, but silences benign Clang
-fsanitize=implicit-signed-integer-truncation warnings
Change-Id: I0953914a35f2a8c4caa6f75d4918e3b3366d07e8
Reviewed-on: https://gerrit.libreoffice.org/68628
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zipapi/CRC32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zipapi/CRC32.cxx b/package/source/zipapi/CRC32.cxx index a38d7562cf17..9413a27cefd8 100644 --- a/package/source/zipapi/CRC32.cxx +++ b/package/source/zipapi/CRC32.cxx @@ -41,7 +41,7 @@ void CRC32::reset() } sal_Int32 CRC32::getValue() { - return nCRC & 0xFFFFFFFFL; + return nCRC; } /** Update CRC32 with specified sequence of bytes */ |