[Libreoffice-commits] .: lotuswordpro/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed May 9 06:28:51 PDT 2012


 lotuswordpro/source/filter/explode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f909446caae6d4e091c2bb2dae36ae648491eef2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 9 14:27:42 2012 +0100

    WaE: C4146 unary operator applied to unsigned type
    
    Change-Id: I5326baab63d8ec30a2f7fcb027c4a5a5526acdf0

diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx
index 241d43d..625d1cf 100644
--- a/lotuswordpro/source/filter/explode.cxx
+++ b/lotuswordpro/source/filter/explode.cxx
@@ -306,7 +306,7 @@ sal_Int32 Decompression::explode()
 
         m_pOutStream->Flush();
         // point back to copy position and read bytes
-        m_pOutStream->SeekRel((long)-distance);
+        m_pOutStream->SeekRel(-(long)distance);
         sal_uInt8 sTemp[MAXWIN];
         sal_uInt32 nRead = distance > Length? Length:distance;
         m_pOutStream->Read(sTemp, nRead);


More information about the Libreoffice-commits mailing list