[Libreoffice-commits] .: sdext/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Nov 24 07:41:41 PST 2010


 sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7229e9f47da5dfee7785bdbc2f198e180ea61395
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 24 14:43:00 2010 +0000

    make possible to build with c++0x

diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
index 8bf3952..890664b 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
@@ -131,7 +131,7 @@ sal_uInt32 PngHelper::deflateBuffer( const Output_t* i_pBuf, size_t i_nLen, Outp
 
 void PngHelper::appendFileHeader( OutputBuffer& o_rOutputBuf )
 {
-    static const Output_t aHeader[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a };
+    static const unsigned char aHeader[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a };
 
     o_rOutputBuf.insert( o_rOutputBuf.end(), aHeader, aHeader + SAL_N_ELEMENTS(aHeader) );
 }


More information about the Libreoffice-commits mailing list