summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-08-15 14:58:33 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-15 14:58:33 +0200
commit5e6ba595f357be807bbbc30cf4ff7edda210835f (patch)
tree11a60344ecdcb8508b9ba7844a8b6a5fcfc84537
parent426f4c8dd1634cc4234f29c8e36b6379b68fe6e8 (diff)
warning C4310: cast truncates constant value
Change-Id: I3ebaec3953f86e8f42937e29fad54bafe87900fa
-rw-r--r--sax/qa/cppunit/test_converter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx
index 7becf74af56a..26627f8d1742 100644
--- a/sax/qa/cppunit/test_converter.cxx
+++ b/sax/qa/cppunit/test_converter.cxx
@@ -545,7 +545,7 @@ void ConverterTest::testBase64()
tempSequence = tempSeq.getAsConstList();
doTestEncodeBase64("BQIDAAABAgM=", tempSequence);
doTestDecodeBase64(tempSequence, "BQIDAAABAgM=");
- tempSeq[0] = sal_Int8(200);
+ tempSeq[0] = sal_Int8(sal_uInt8(200));
tempSeq[1] = sal_Int8(31);
tempSeq[2] = sal_Int8(77);
tempSeq[3] = sal_Int8(111);