sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c536c6d8ddad1d7f2fc9875450a16f47fcd6b89
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Mar 4 22:30:28 2019 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Mar 5 08:48:30 2019 +0100

    Change type of buffer to unsigned char
    
    This change has no actual effect on the results, but silences benign Clang
    -fsanitize=implicit-signed-integer-truncation warnings.
    
    Change-Id: I0e96d998f9030c5bb4431dc0ccd689c8f2f3aeea
    Reviewed-on: https://gerrit.libreoffice.org/68711
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx 
b/sw/source/filter/ww8/docxattributeoutput.cxx
index 504fa6033b36..a7c69319243f 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -6541,7 +6541,7 @@ void DocxAttributeOutput::EmbedFontStyle( const OUString& 
name, int tag, FontFam
         fontKey[ 0 ] = fontKey[ 15 ] = m_nextFontId % 256;
         fontKeyStr[ 1 ] = fontKeyStr[ 35 ] = toHexChar(( m_nextFontId % 256 ) 
/ 16 );
         fontKeyStr[ 2 ] = fontKeyStr[ 36 ] = toHexChar(( m_nextFontId % 256 ) 
% 16 );
-        char buffer[ 4096 ];
+        unsigned char buffer[ 4096 ];
         sal_uInt64 readSize;
         file.read( buffer, 32, readSize );
         if( readSize < 32 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to