diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-04 16:03:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-04 16:03:47 +0100 |
commit | 5cab4411c98b128fcc26f25194151af0658ddcac (patch) | |
tree | ec815ef55fc01e912ee3677cfba9165737916c39 /filter | |
parent | add autoconf macro for Boost.Iostreams (diff) | |
download | core-5cab4411c98b128fcc26f25194151af0658ddcac.tar.gz core-5cab4411c98b128fcc26f25194151af0658ddcac.zip |
warning C4310: cast truncates constant value
Change-Id: Id5535ec71c47ad29283607d1d1b9f3a502e34fe1
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index e0e698a4b519..5039305131e4 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -270,7 +270,7 @@ bool SVGFilter::isStreamGZip(uno::Reference<io::XInputStream> xInput) if (nBytes == 2) { const sal_Int8* pBuffer = aBuffer.getConstArray(); - if (pBuffer[0] == (sal_Int8)0x1F && pBuffer[1] == (sal_Int8)0x8B) + if (pBuffer[0] == 0x1F && static_cast<sal_uInt8>(pBuffer[1]) == 0x8B) return true; } return false; |